![]() |
![]()
| ![]() |
![]()
NAMEchgrep - change oldpattern to newpattern SYNOPSISchgrep [-en/w] [-dhilqrsv] [-t filename] OLDPATTERN NEWPATTERN [file...] DESCRIPTIONChgrep searches the input files (or standard input if no files are named) for oldstring and changes them to newstring. If some file and file.lock exist then chgrep leaves both files unchanged. You can write NEWPATTERN as "NULL" to clear OLDPATTERN, i.e. "chgrep oldstring NULL somefile.c".
DIAGNOSTICSNormally, exit status is 0 if no errors were found, and 1 if some errors were found. The -v option helps to understand the sense of the exit status. BUGSEmail bug reports to bartek@bmk.bz. Be sure to include the word “chgrep” somewhere in the “Subject:” field.
|