MrC;399135 Wrote:
> Check your sed man page to see that it supports the -i option (in place
> editing). If not, another command or temporary files can be used.
> I'll give you a workaround if your sed doesn't support the -i option.
>
Yes, it does support the -i option. Man page options below:
Code:
--------------------
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-c, --copy
--------------------
--
rmariger
------------------------------------------------------------------------
rmariger's Profile: http://forums.slimdevices.com/member.php?userid=1160
View this thread: http://forums.slimdevices.com/showthread.php?t=60307
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix