Gentoo Archives: gentoo-desktop

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Bash scripting
Date: Tue, 08 Nov 2005 19:54:11
Message-Id: 437101DF.8050605@volumehost.com
In Reply to: [gentoo-desktop] Bash scripting by Justin Denick
1 Justin Denick wrote:
2 > Does anybody know of a way to read a file line-by-line where each
3 > record(line) is 530 bytes(characters including space)long?
4
5 Can any record contain a newline (for example, escaped with some character)?
6
7 If not, you can simply use 'read' bash built in to read one line at a
8 time. You may need to use the option that turns off escapes in the
9 input, depending on if you want to recognize '\' as an escape character
10 or simply a normal character.
11
12 --
13 Boyd Stephen Smith Jr.
14 bss03@××××××××××.com
15 --
16 gentoo-desktop@g.o mailing list