|
From: | Paul Yeh |
Subject: | sed |
Date: | Wed, 17 Apr 2002 14:11:44 -0700 |
sed 's/a/b/1' <file>
the 1 is supposed to replace the 1st occurance but it doesn't.
It replaces the 1st column for every occurance of 'a' and replaces it with
'b'.
Paul Yeh Eigen Development - Systems Support Analyst #301 5455 West Boulevard Vancouver, BC. V6M 3W5 Voice: 604.736.1066 Fax : 604.736.5669 Web : www.eigendev.com Email: address@hidden |
[Prev in Thread] | Current Thread | [Next in Thread] |