Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/shar shar: send usage message to standard error so i...
details: https://anonhg.NetBSD.org/src/rev/6da3d2a73783
branches: trunk
changeset: 372859:6da3d2a73783
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Sat Dec 31 03:44:18 2022 +0000
description:
shar: send usage message to standard error so it is not swallowd by
redirection.
>From FreeBSD
diffstat:
usr.bin/shar/shar.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 124268924386 -r 6da3d2a73783 usr.bin/shar/shar.sh
--- a/usr.bin/shar/shar.sh Sat Dec 31 03:38:59 2022 +0000
+++ b/usr.bin/shar/shar.sh Sat Dec 31 03:44:18 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index