[MPlayer-users] ad_faad.c compile error

Arpi arpi at thot.banki.hu
Fri Feb 7 23:44:49 CET 2003


Hi,

> echo 1.1 | sed -e 's/^\([0-9]+\)\.\([0-9]+\).*/\1\2/'
> 1.1

argh

> 
> 	Perhaps using 'tr -d .' instead of sed would work better?

no since it may be '1.2 beta'

maybe |tr -d .|cut -d ' ' -f 1 ?

btw why is the above sed expr. wrong? i don't know sed enough but
at first look it seems to be correct.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino



More information about the MPlayer-users mailing list