diff options
author | jmmv <jmmv> | 2003-05-31 14:20:46 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-05-31 14:20:46 +0000 |
commit | f8493ed610b254c52b7af245c243a99dccde8d53 (patch) | |
tree | 0d921183fc9ba24268d2c512aeded5e6ae1df0f2 /pkglocate | |
parent | ca60ab8f91aa8428b4bc92a0971a6f00d43c9fa3 (diff) | |
download | pkgsrc-f8493ed610b254c52b7af245c243a99dccde8d53.tar.gz |
Use "printf" instead of "echo -n" because it's more portable.
Diffstat (limited to 'pkglocate')
-rwxr-xr-x | pkglocate | 6 |
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" |