redirect properly on sun

This commit is contained in:
rsc 2004-04-25 21:28:51 +00:00
parent 77b3fa7c29
commit e544651cc7

4
bin/9c
View file

@ -45,8 +45,8 @@ esac
case "$tag" in case "$tag" in
*SunOS*-cc) *SunOS*-cc)
exec $cc -I$PLAN9/include $cflags "$@" | exec $cc -I$PLAN9/include $cflags "$@" 2>&1 |
/bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' 1>&2
;; ;;
*) *)
exec $cc -I$PLAN9/include $cflags "$@" exec $cc -I$PLAN9/include $cflags "$@"