SVN: geninitrd/trunk/geninitrd
Cezary Krzyzanowski
dhubleizh at o2.pl
Sat Jan 27 19:11:26 CET 2007
Dnia 27-01-2007, sob o godzinie 18:35 +0100, Przemyslaw Iskra
napisał(a):
> semicolon is missing
hm - true - no idea how it worked for me.
> anyway, this is wrong, theck this one:
>
> echo root=0303 | awk 'BEGIN { prefix="root="; num_pattern_short =
> "[0-9][0-9][0-9]"; num_pattern = num_pattern_short "[0-9]"; } $0 ~
> prefix num_pattern_short { sub(prefix, prefix 0); } { print }'
>
> returns:
>
> root=00303
>
> there should be '$' or something
>
fck - got to rethink that ;/
Cz at rny
More information about the pld-devel-en
mailing list