The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-22-2008
redoubtable redoubtable is offline
Registered User
  
 

Join Date: Aug 2008
Location: Portugal
Posts: 242
No problem. That happened because despite how many spaces you type, the number of arguments is the same and echo only cares about arguments (which are then separated by a single space).

Code:
echo one        two
Those are two arguments "one" and "two".
Code:
echo "one      two"
That is one argument "one two".

Glad I could help.