[ANNOUNCE] VDR developer version 1.3.48

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>
> 
> Im trying to test this from the console and I seem to have a problem with the
> following command (using sed-4.1.4-7 from debian sid):
> 
>  "sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' config.h"
> 
> This returns nothing.
> 
>  "sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$/\1/; p }' config.h"
> 
> This returns:
> 
> 1.3.48
> 
> Is that right? Removing one of the "$" seems to fix it..
> 

Sorry, I meant to say this command returns nothing:

sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h

and this command works:

sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$/\1/p' config.h


BR.



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux