Searched hist:96175 (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/usr.bin/sed/ | ||
H A D | sed.1 | diff 96175 Tue May 07 16:32:18 MDT 2002 jmallett Add a -i option to sed(1) to do inplace editing, to give us an alternative to Perl for such things. The key difference to Perl is that a backup extension *MUST* be specified, because on one hand it isn't recommended to have options which optionally take a parameter, and on the other hand, it'd be slightly unpleasent to implement proper handling for that. The difference between this and the version posted to developers@ is that it does handle multiple files in argv after the getopt(3) handling "correctly", in that the inplace editing-specific code has been moved out to a function, and that function is used beyond the first file in our linked list. This option has been documented as FreeBSD-specific in the manpage. Reviewed by: developers@ (got feedback from: des, fanf, sobomax, roberto, obrien) MFC after: 1 week |
H A D | main.c | diff 96175 Tue May 07 16:32:18 MDT 2002 jmallett Add a -i option to sed(1) to do inplace editing, to give us an alternative to Perl for such things. The key difference to Perl is that a backup extension *MUST* be specified, because on one hand it isn't recommended to have options which optionally take a parameter, and on the other hand, it'd be slightly unpleasent to implement proper handling for that. The difference between this and the version posted to developers@ is that it does handle multiple files in argv after the getopt(3) handling "correctly", in that the inplace editing-specific code has been moved out to a function, and that function is used beyond the first file in our linked list. This option has been documented as FreeBSD-specific in the manpage. Reviewed by: developers@ (got feedback from: des, fanf, sobomax, roberto, obrien) MFC after: 1 week |
Completed in 89 milliseconds