The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-21-2009
colemar colemar is offline
Registered User
  
 

Join Date: Apr 2009
Location: Trento, Italy
Posts: 116
Quote:
Originally Posted by trey85stang View Post
I know that, but the problem lies that US is not alway US thus it can be more then 2 characters long...
Then you must do it in two steps, as outlined above.
I believe there is no way to do it at once with bash parameters substitution.