tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ script to delete first line of files

Dealing with spaces in file names in shell scripts... ▻

Dealing with spaces in file names in shell scripts...

In article <6t42nj$h5h$1@news.tamu.edu>,
Henrik Schmiediche <henrik@stat.tamu.edu> wrote:
>I have been trying to figure out how to handle spaces in file names
>when using shell scripts. I am using the Bourne shell, but I will use
>ksh or bash if that helps solve the problem.

Unfortunately this lunacy pervades all the Bourne-derived shells.

If you want a shell with sensible quoting, try rc.

Tim.
--
Tim Goodwin | "The long and short of it is that its all
Cygnus UK   | pretty messy, and it will probably get a whole
Cambridge   | lot messier in the future." -- Ned Freed

Original headers:

From: tgoodwin@nan.cygnus.co.uk (Tim Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: Dealing with spaces in file names in shell scripts...
Date: 9 Sep 1998 15:40:27 GMT
Organization: Cygnus Solutions Ltd, UK
Message-ID: <6t67hb$662$1@korai.cygnus.co.uk>
References: <6t42nj$h5h$1@news.tamu.edu>
X-Newsreader: trn 4.0-test58 (13 May 97)

△ comp.unix.shell △

◅ script to delete first line of files

Dealing with spaces in file names in shell scripts... ▻