Am 2007-06-24 22:24:56, schrieb s. keeling:
L.V.Gandhi [EMAIL PROTECTED]:
--=_Part_150443_25730719.1182692831198
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Content-Disposition: inline
On 23.06.07 14:23, L.V.Gandhi wrote:
Subject: scripting - cat breaking line
I have a file temp1 as below
[EMAIL PROTECTED]:~/stock$ cat temp1
ABB,ABB LTD., 4730.00, 4779.00, 4700.00, 4726.45,59655
ACC,ACC LIMITED, 860.00, 864.90, 844.30, 852.25
On 6/23/07, Gabriel Parrondo [EMAIL PROTECTED] wrote:
El sáb, 23-06-2007 a las 18:43 -0700, L.V.Gandhi escribió:
On 6/23/07, Wu-Kung Sun [EMAIL PROTECTED] wrote:
The bash manpage says If the substitution appears within
double
quotes, word splitting and pathname
On 6/24/07, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote:
On 23.06.07 14:23, L.V.Gandhi wrote:
Subject: scripting - cat breaking line
I have a file temp1 as below
[EMAIL PROTECTED]:~/stock$ cat temp1
ABB,ABB LTD., 4730.00, 4779.00, 4700.00, 4726.45
,59655
ACC,ACC
L.V.Gandhi [EMAIL PROTECTED]:
--=_Part_150443_25730719.1182692831198
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Content-Disposition: inline
T24gNi8yMy8wNywgR2FicmllbCBQYXJyb25kbyA8Zy5wYXJyb25kb0BnbWFpbC5jb20+IHdyb3Rl
On 6/24/07, s. keeling [EMAIL PROTECTED] wrote:
L.V.Gandhi [EMAIL PROTECTED]:
--=_Part_150443_25730719.1182692831198
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Content-Disposition: inline
I have a file temp1 as below
[EMAIL PROTECTED]:~/stock$ cat temp1
ABB,ABB LTD., 4730.00, 4779.00, 4700.00, 4726.45,59655
ACC,ACC LIMITED, 860.00, 864.90, 844.30, 852.25
,228318
When I run on command line as
[EMAIL PROTECTED]:~/stock$ for line in $(cat
The bash manpage says If the substitution appears within double
quotes, word splitting and pathname expansion are not performed on the
results. So try $(cat temp1)
--
swk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Wu-Kung Sun, have solve the line breaking problem.
Now something else.
On Sat, 23 Jun 2007 14:23:34 -0700, L.V.Gandhi wrote:
[EMAIL PROTECTED]:~/stock$ for line in $(cat temp1);do echo
20070622,$linetemp2 ;done
FYI, the best approach for your above is to use sed, which can still
maintain
On 6/23/07, Wu-Kung Sun [EMAIL PROTECTED] wrote:
The bash manpage says If the substitution appears within double
quotes, word splitting and pathname expansion are not performed on the
results. So try $(cat temp1)
-
Thanks for the reply. However result was
[EMAIL PROTECTED]:~$ for line in
On 6/23/07, - Tong - [EMAIL PROTECTED] wrote:
Wu-Kung Sun, have solve the line breaking problem.
Now something else.
On Sat, 23 Jun 2007 14:23:34 -0700, L.V.Gandhi wrote:
[EMAIL PROTECTED]:~/stock$ for line in $(cat temp1);do echo
20070622,$linetemp2 ;done
FYI, the best approach for your
El sáb, 23-06-2007 a las 18:43 -0700, L.V.Gandhi escribió:
On 6/23/07, Wu-Kung Sun [EMAIL PROTECTED] wrote:
The bash manpage says If the substitution appears within
double
quotes, word splitting and pathname expansion are not
performed on the
results.
12 matches
Mail list logo