Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006


[Consult] format changes [to ask]

A version is this :
$ Cat test.txt
Aaaaa
Bbbbb
Cccccc
Ddddd
$
I wants to turn it into
$ Cat test_after.txt
Aaaaa;bbbbb;cccccc;ddddd

Thank you!

[Consult] format changes [to ask]

=`cat Ff`
Echo $a|tr "" "; "

[Consult] format changes [to ask]

-->
Thank you for reminding use tr. I used this like so!
Cat test.txt |tr s "\n" "; "" Test_after.txt
Thank you!
Really learn together progressive place! Oh! 8) : D

[Consult] format changes [to ask]

...

Cat is superfluous.

Tr s "\n" "; "" Test.txt "test_after.txt

[Consult] format changes [to ask]

O_o



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com