IRIX 5.3 reports like solaris:
Undefined label: ar
:> : > I think he's trying to use the a (append) command to append "bar" [..]
:> : > containing "foo".
: Well, we don't know yet ;-)
:> : > Try putting this in your script:>
:> : > sed '/foo/a\
:> : > bar'
:> : That will work, and so will: sed -e '/foo/a\' -e 'bar' file
: Beautiful it is, alas:
: % sed -e '/foo/a\' -e 'bar'
: OSF1, HP-UX:
: sed: Found escape character at end of editing script.
: Undefined label: ar
: GNU, BSD:
: A multi-line script IS painful in csh (not that I'd endorse it).
: Michael Sternberg | Uni-GH Paderborn
: http://www.phys.uni-paderborn.de/~stern/ | FB6 Theoretische Physik
: phone: +49-(0)5251-60-2329 fax: -3435 | 33098 Paderborn, Germany
: "Who disturrrbs me at this time?" << Zaphod Beeblebrox IV >> <*>
"Cutting the space budget really restores my faith in humanity. It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation." -- Johnny Hart
***testing, only testing, and damn good at it too!***
OK, so you're a Ph.D. Just don't touch anything.