This one, right? -i[SUFFIX], --in-place[=SUFFIX] edit files in place (makes backup if extension supplied)
-i copies the content to a temporary backup file, truncates the original (keeping permissions, ACL flags etc) and starts processing from backup to original file, right? Which purpose has this option (I can't look at the GPL code without getting tainted by the GPL): --follow-symlinks follow symlinks when processing in place If you use one sed script over many files then sedcomp will help you (precompiles sed script, saving execution time in the processing loop). Olga 2010/3/12 Christine Tran <christine.tran at gmail.com>: > 2010/3/12 ????? ???????????? <olga.kryzhanovska at gmail.com>: >> Christine: Which options and features do you need/want? >> > > Hi, in-place replacement, the -i switch. It allows sed to modify the > file directly, instead of redirecting the output and then copying it > back over. This is very useful when you use sed for text processing > from within a script, operating over many files. > > CT > -- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----'-/`-/ olga.kryzhanovska at gmail.com \-`\-'----. `'-..-| / Solaris/BSD//C/C++ programmer \ |-..-'` /\/\ /\/\ `--` `--`