![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| removing spaces | sahithi_khushi | Shell Programming and Scripting | 2 | 11-03-2006 11:20 AM |
| removing spaces after sperator | vishnu_vaka | Shell Programming and Scripting | 6 | 03-24-2006 10:17 AM |
| Removing spaces between records | thanuman | UNIX for Dummies Questions & Answers | 6 | 11-17-2005 01:01 PM |
| removing spaces in a file | tioray | Shell Programming and Scripting | 3 | 11-19-2001 05:44 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
removing white space (padding) from variables?
I stored results like this
VAR=`wc -l < ls.txt` But the value of the wc gave me a padded number. How do I strip the padding from $VAR? Do you think I could use SED? Except instead of a file input, have a variable redirection input? Last edited by yongho; 06-10-2005 at 04:57 PM.. |
| Bookmarks |
| Tags |
| awk, awk trim, trim, trim awk |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|