![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing extra spaces | agarwal | Shell Programming and Scripting | 2 | 04-25-2008 01:54 AM |
| removing spaces | sahithi_khushi | Shell Programming and Scripting | 2 | 11-03-2006 08:20 AM |
| Removing spaces between records | thanuman | UNIX for Dummies Questions & Answers | 6 | 11-17-2005 10:01 AM |
| removing spaces from variables? | yongho | UNIX for Dummies Questions & Answers | 2 | 06-10-2005 01:03 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Removing spaces...
Hey,
I'm using the command from this thread converting a list into a line to convert vertical lines to horzontal lines. But I need to remove the spaces that is created. Unfortunately I can't figure out where the space is in the code.. I have: A B C I need: ABC THANKS!! I have tried to look around for a similar thread/code but cant find it. Hope it's not already out there. Also I can't post to the original thread since it's a closed (?) post. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
this will do
Code:
tr '\012' ' '<filename>outputfile |
|
#3
|
|||
|
|||
|
Thanks for the quick reply.
|
|||
| Google The UNIX and Linux Forums |