summaryrefslogtreecommitdiff
path: root/pkglocate
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-31 14:20:46 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-31 14:20:46 +0000
commitd95ff7d33a2e7a0cfbbff2238031e7f4e167f578 (patch)
tree0d921183fc9ba24268d2c512aeded5e6ae1df0f2 /pkglocate
parent5e649b82c9a9b7c49ebfe234aceec453cc2d22d6 (diff)
downloadpkgsrc-d95ff7d33a2e7a0cfbbff2238031e7f4e167f578.tar.gz
Use "printf" instead of "echo -n" because it's more portable.
Diffstat (limited to 'pkglocate')
-rwxr-xr-xpkglocate6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkglocate b/pkglocate
index af89853070f..adf82e70c91 100755
--- a/pkglocate
+++ b/pkglocate
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: pkglocate,v 1.7 2001/11/07 22:11:13 agc Exp $
+# $NetBSD: pkglocate,v 1.8 2003/05/31 14:20:46 jmmv Exp $
#
#-
# Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -78,9 +78,9 @@ if [ $# -lt 1 ]; then
echo "Usage: pkglocate [-i] [-f] [-p] [-v] word"
echo " [-i] ignore case when searching"
echo " [-f] look for a file, rather than a word or phrase"
- echo -n " [-p]"
+ printf " [-p]"
if [ "$grepname" != "agrep" ]; then
- echo -n " (NOT AVAILABLE - needs glimpse package installed)"
+ printf " (NOT AVAILABLE - needs glimpse package installed)"
fi
echo " use approximate matching"
echo " [-v] be verbose"