tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ rc shell usage?

Exported aliasses ? ▻

Basic Text-processing Questions for Bourne Shell

In article <7ihnrp$csl$1@nnrp1.deja.com>,
Hon-Chi Ng  <honchi_ng@my-deja.com> wrote:
>   but Bourne shell doesn't understand "\n"

printf(1) is fairly widespread these days, and is more portable than
echo(1), in that it works the same way everywhere.

(On Solaris 2, the man page for echo spends 800 words explaining the
differences between the six incompatible `echo's that come with the
system.  Sometimes I despair.)

Tim.
--
Tim Goodwin   | `I can't believe that someone is releasing
University of | something called "Unix" without something
Leicester, UK | called "/bin/sh".' -- Randal L. Schwartz

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.unix.shell,comp.unix.misc,comp.unix.questions
Subject: Re: Basic Text-processing Questions for Bourne Shell
Date: 27 May 1999 11:32:11 +0100
Organization: University of Leicester, UK
Message-ID: <7ij6vb$2u0$1@ltpcg.star.le.ac.uk>
References: <7ihnrp$csl$1@nnrp1.deja.com>

△ comp.unix.shell △

◅ rc shell usage?

Exported aliasses ? ▻