Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Adding text to the beginning of a file
- Date: Sat, 17 Mar 2007 13:54:07 +0100
- From: Godwin Stewart <godwin.stewart@example.com>
- Subject: Re: [tlug] Adding text to the beginning of a file
- References: <45FA6B45.3040500@example.com> <ba75897e0703160413oc5219d7gb2bea3d53cd0afc2@example.com> <45FB452B.8050205@example.com> <ba75897e0703162026gb5fec8cm94470f4e30b117c4@example.com> <17915.55760.452640.548230@example.com>
On Sat, 17 Mar 2007 21:06:40 +0900, "Stephen J. Turnbull" <stephen@example.com> wrote: > I don't know any way offhand to get file names with spaces to work > under for. This works for me (using bash): $ \ls -1 | while read f; do echo "$f"; done The backslash before 'ls' is to avoid using the alias, which is defined as: alias ls='/bin/ls $LS_OPTIONS' $ echo $LS_OPTIONS -F -b -T 0 --color=auto -- G. Stewart - godwin.stewart@example.com If at first you don't succeed, redefine success.Attachment: pgpMqQnM52as1.pgp
Description: PGP signature
- References:
- [tlug] Adding text to the beginning of a file
- From: Dave M G
- Re: [tlug] Adding text to the beginning of a file
- From: Arwyn Hainsworth
- Re: [tlug] Adding text to the beginning of a file
- From: Dave M G
- Re: [tlug] Adding text to the beginning of a file
- From: Arwyn Hainsworth
- Re: [tlug] Adding text to the beginning of a file
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Adding text to the beginning of a file
- Next by Date: Re: [tlug] Adding text to the beginning of a file
- Previous by thread: Re: [tlug] Adding text to the beginning of a file
- Next by thread: Re: [tlug] Adding text to the beginning of a file
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links