Module Name: src
Committed By: ginsbach
Date: Sat Dec 31 03:44:18 UTC 2022
Modified Files:
src/usr.bin/shar: shar.sh
Log Message:
shar: send usage message to standard error so it is not swallowd by
redirection.
>From FreeBSD
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/shar/shar.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/shar/shar.sh
diff -u src/usr.bin/shar/shar.sh:1.5 src/usr.bin/shar/shar.sh:1.6
--- src/usr.bin/shar/shar.sh:1.5 Sat Dec 31 03:38:59 2022
+++ src/usr.bin/shar/shar.sh Sat Dec 31 03:44:18 2022
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: shar.sh,v 1.5 2022/12/31 03:38:59 ginsbach Exp $
+# $NetBSD: shar.sh,v 1.6 2022/12/31 03:44:18 ginsbach Exp $
#
# Copyright (c) 1990, 1993
# The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
#
if [ $# -eq 0 ]; then
- echo 'usage: shar file ...'
+ echo 'usage: shar file ...' 1>&2
exit 1
fi