1 ?RCS: $Id: n.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
12 ?RCS: Revision 3.0 1993/08/18 12:09:19 ram
13 ?RCS: Baseline for dist 3.0 netwide release.
16 ?MAKE: -pick add $@ %<
18 ?S: This variable contains the -n flag if that is what causes the echo
19 ?S: command to suppress newline. Otherwise it is null. Correct usage is
20 ?S: $echo $n "prompt for a question: $c".
23 ?S: This variable contains the \c string if that is what causes the echo
24 ?S: command to suppress newline. Otherwise it is null. Correct usage is
25 ?S: $echo $n "prompt for a question: $c".
27 : first determine how to suppress newline on echo command
29 echo "Checking echo to see how to suppress newlines..."
30 (echo "hi there\c" ; echo " ") >.echotmp
31 if $contains c .echotmp >/dev/null 2>&1 ; then
42 echo $n "The star should be here-->$c"