| ||||||
| 5/25 |
| 2001/7/17 [Computer/SW/Unix] UID:21815 Activity:high |
7/16 How come
some_program | sed 's/.*/&abc/'
works, but not
echo `some_program | sed 's/.*/&abc/'`
in tcsh?
\_ Try this:
echo `some_program | sed 's/.\*/&abc/'`
--- yuen
\_ Doesn't work...
\_ No idea. Actually your original form already works for me in
tcsh. -- yuen
\_ Turns out to be some output of some_program that
screwed it up. |