Sign in to follow this  
Followers 0

HPR - HPR2045: Some other Bash tips

1 post in this topic

Some other Bash tips Expansion As we saw in the last episode 1951 (and others in this sub-series) there are eight types of expansion applied to the command line in the following order: Brace expansion (we looked at this subject in episode 1884) Tilde expansion (seen in episode 1903) Parameter and variable expansion (this was covered in episode 1648) Command substitution (seen in episode 1903) Arithmetic expansion (seen in episode 1951) Process substitution Word splitting Pathname expansion We will look at process substitution and word splitting in this episode but since there is a lot to cover in these subjects, we'll save pathname expansion for the next episode. I have written out a moderately long set of notes about this subject and these are available here Links HPR episode 1648 "Bash parameter manipulation": HPR episode 1843 "Some Bash tips": HPR episode 1884 "Some more Bash tips": HPR episode 1903 "Some further Bash tips": HPR episode 1951 "Some additional Bash tips": "Introduction to sed" series on HPR: Part 1: Part 2: Part 3: Part 4: Wikipedia article on the "Named pipe": Wikipedia article on the "IFS" variable: Advanced Bash-Scripting Guide: Section 9.1 Bash Internal Variables (including IFS):

View the full article


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0