[BusyBox] Problems with halt, reboot, du, ls, find, head, cut, sed, cp

Tom Oehser tom at toms.net
Wed May 2 15:49:03 UTC 2001


> Small wonder that this one failed. Have you tried running these through GNU
> sed?
> 
> 	$ sed -e "/mount -o ro /c mount -o ro $FD /fl" somefile.txt
> 	sed: -e expression #1, char 17: Extra characters after command

They are all working under minix sed, mnsed, directly out of functioning
scripts.  Gnu-sed is not an option for me.

I guess probably minix-sed knows there aren't any more operands so it
doesn't require escaping the / in /fl?  I could fix that probably, by
escaping the / in /fl.  But 'r' is required, anyway.  It is interesting
that there are expressions that mnsed handles and gnu-sed fails on.

-Tom







More information about the busybox mailing list