Stefan Troeger wrote:
Hi,
On Tue, Dec 28, 1999 at 00:43 -0600, Patrick K Moorman wrote:
sed: -e expression #1, char14: Unmatched ( or \(
so I try " ... | sed 's#.*\(\\)\#\1#g' added a " \ " after " ) " ^There's a dot missing. It should read sed 's#.*\(\.\)#\1#g'
Ciao, Stefan
Could someone translate this to English? I've used sed a little bit, but this intrigues me. So I checked man: s/regexp/replacement/ Attempt to match regexp against the pattern space. If successful, replace that portion matched with replacement. The replacement may contain the spe cial character & to refer to that portion of the pattern space which matched, and the special escapes \1 through \9 to refer to the corresponding matching sub-expressions in the regexp. So if the script begins with "s", then a slash must follow, right? Thanks. -- George Toft http://www.georgetoft.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/