On Mon, Jun 04, 2007 at 11:45:27PM +0200, Almir Karic wrote: > >I don't see any -i option documented in the sed manpage. > > -i on some seds (gsed, ssed, FBSD sed, maybe others) means ''in > place'' edit, that feature can be reimplemented with ''sed '....' file > >new_file; mv -g new_file file'' (it also makes sure it generates > safe temp file, so doesn't overwrite any file accidentally). but it > doesn't exists in OBSD sed, so his answer was 'wrong'.
What is mv -g ? doesn't seem to be any standard option I know about ?