On Thu, Mar 22, 2001 at 07:53:26PM +0100, Leonard den Ottolander <[EMAIL PROTECTED]>
wrote:
| > I used bsed for this:
| >
| > http://www.zip.com.au/~cs/scripts/bsed
| >
| > It's a wrapper for sed (which reads stdin and writes stdout).
|
| I noticed bsed only replaces the first occurence of a string in each line in
| a text file (line being separated by a newline char). Not sure if you are
| aware of this fact.
RTFM on sed my son. That is _standard_ behaviour. It's only a wrapper for
sed. If you want them all, then:
s/this/that/g
see ---^
This is nothing to do with bsed. It's sed. Likewise with perl. You always
want such control.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Zombies don't get pumped. - Jake, in rec.climbing
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list