diff options
Diffstat (limited to 'bin/label')
-rwxr-xr-x | bin/label | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,16 @@ #!/bin/sh +case `uname` in +SunOS) + awk=nawk + ;; +*) + awk=awk + ;; +esac + label() { - echo "$@" | awk '{printf("\033];%s\007", $0);}' + echo "$@" | $awk '{printf("\033];%s\007", $0);}' } label "$@" |