![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Preventing whitespace to be a delimiter in a for loop (bash/sh) | kkkoehne | Shell Programming and Scripting | 4 | 05-15-2009 10:20 AM |
| echo seems to trim whitespace | joeyg | Shell Programming and Scripting | 2 | 02-28-2008 04:41 PM |
| Delete whitespace | truck7758 | Shell Programming and Scripting | 12 | 12-05-2007 12:00 PM |
| sed : remove whitespace | b.hamilton | Shell Programming and Scripting | 3 | 11-06-2007 11:02 AM |
| trim whitespace? | msteudel | Shell Programming and Scripting | 4 | 07-07-2005 07:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Of bash and whitespace...
Hmmm... Bash doesn't parse whitespace with a read.
Code:
lev@sys09:~$ read line; echo "$line" test test Code:
lev@sys09:~$ read word1 word2; echo "$word1,$word2" 123 456 789 123,456 789 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|