Bash Parameter Expansion

  2008-10-02 22:30:02
If you use bash you already know what Parameter Expansion is, although you may have used it without knowing its name. Anytime you use a dollar sign followed by a variable name you're doing what bash calls Parameter expansion, eg echo $a or a=$b. But parameter expansion has numerous other forms which allow you to expand a parameter and modify the value or substitute other values in the expansion process. 
  PNG Image  PNG Image  PNG Image
  Related tags  


This particular article has been collected via RSS syndication. We apologize if it's too brief.
If You wish to publish articles on LinuxStreet.net please contact us.


  Similar articles found on LinuxStreet  
ImageBash Extended Globbing
ImageBash Parameters in Linux
ImagePython for Bash scripters: A well-kept secret
ImageSimply one of the best Bash FAQ's on the net..
ImageHlstats"killLimit" Parameter Handling Remote SQL Query Injection ...
ImageDebug your shell scripts with bashdb
ImageHow To Fake Associative Arrays In Bash
ImageTeach an old shell new tricks with BashDiff
ImageGet Your Local TV Listings From The Bash Command Line
ImageZero to Z-Shell: Learn what all the fuss is about with Z-Shell

Leave a comment on this article


Captcha

  
Check this if the code you see is not readable and resubmit the form.
(Data you entered will be preserved)



  

Comments (0)