aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-25 21:28:51 +0000
committerrsc <devnull@localhost>2004-04-25 21:28:51 +0000
commite544651cc7662639c1feab89b31932e69be2c52a (patch)
tree9d8cb8c1952f25ad92c76528a7c3e111109cfc62 /bin
parent77b3fa7c29ee97643173d58e4014831e7db1bff7 (diff)
downloadplan9port-e544651cc7662639c1feab89b31932e69be2c52a.tar.gz
plan9port-e544651cc7662639c1feab89b31932e69be2c52a.tar.bz2
plan9port-e544651cc7662639c1feab89b31932e69be2c52a.zip
redirect properly on sun
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/9c b/bin/9c
index c320d946..9129315b 100755
--- a/bin/9c
+++ b/bin/9c
@@ -45,8 +45,8 @@ esac
case "$tag" in
*SunOS*-cc)
- exec $cc -I$PLAN9/include $cflags "$@" |
- /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
+ exec $cc -I$PLAN9/include $cflags "$@" 2>&1 |
+ /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' 1>&2
;;
*)
exec $cc -I$PLAN9/include $cflags "$@"