Permalink
Browse files

Use "printf" instead of "echo -n" because it's more portable.

  • Loading branch information...
1 parent 208be51 commit fcf905b610d8c6ff574adc9af45b89c7e5ec982f jmmv committed May 31, 2003
Showing with 3 additions and 3 deletions.
  1. +3 −3 pkglocate
View
@@ -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"

0 comments on commit fcf905b

Please sign in to comment.