Go offline with the Player FM app!
HPR2699: Bash Tips - 15
Archived series ("Inactive feed" status)
When? This feed was archived on February 10, 2021 18:12 (). Last successful fetch was on February 26, 2021 20:39 ()
Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 222725976 series 49648
Bash Tips - 15 (More auxiliary Bash tips)
Pitfalls for the unwary Bash loop user
This is the fifteenth episode covering useful tips for Bash users. In the last episode we looked at the 'for'
loop, and prior to that we looked at 'while'
and 'until'
loops. In this one I want to look at some of the loop-related issues that can trip up the unwary user.
Loops in Bash are extremely useful, and they are not at all difficult to use in their basic forms. However, there are some perhaps less than obvious issues that can result in unexpected behaviour.
Long notes
I have provided detailed notes as usual for this episode, and these can be viewed here.
Links
- “GNU BASH Reference Manual”
- Previous episodes under the heading Bash Tips:
- 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”
- HPR episode 2045 “Some other Bash tips”
- HPR episode 2278 “Some supplementary Bash tips”
- HPR episode 2293 “More supplementary Bash tips”
- HPR episode 2639 “Some ancillary Bash tips - 9”
- HPR episode 2649 “More ancillary Bash tips - 10”
- HPR episode 2659 “Further ancillary Bash tips - 11”
- HPR episode 2669 “Additional ancillary Bash tips - 12”
- HPR episode 2679 “Extra ancillary Bash tips - 13”
- HPR episode 2689 “Bash Tips - 14 (Some auxiliary Bash tips)”
- Resources:
- Examples: bash15_ex1.sh, bash15_ex2.sh
3280 episodes
Archived series ("Inactive feed" status)
When? This feed was archived on February 10, 2021 18:12 (). Last successful fetch was on February 26, 2021 20:39 ()
Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 222725976 series 49648
Bash Tips - 15 (More auxiliary Bash tips)
Pitfalls for the unwary Bash loop user
This is the fifteenth episode covering useful tips for Bash users. In the last episode we looked at the 'for'
loop, and prior to that we looked at 'while'
and 'until'
loops. In this one I want to look at some of the loop-related issues that can trip up the unwary user.
Loops in Bash are extremely useful, and they are not at all difficult to use in their basic forms. However, there are some perhaps less than obvious issues that can result in unexpected behaviour.
Long notes
I have provided detailed notes as usual for this episode, and these can be viewed here.
Links
- “GNU BASH Reference Manual”
- Previous episodes under the heading Bash Tips:
- 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”
- HPR episode 2045 “Some other Bash tips”
- HPR episode 2278 “Some supplementary Bash tips”
- HPR episode 2293 “More supplementary Bash tips”
- HPR episode 2639 “Some ancillary Bash tips - 9”
- HPR episode 2649 “More ancillary Bash tips - 10”
- HPR episode 2659 “Further ancillary Bash tips - 11”
- HPR episode 2669 “Additional ancillary Bash tips - 12”
- HPR episode 2679 “Extra ancillary Bash tips - 13”
- HPR episode 2689 “Bash Tips - 14 (Some auxiliary Bash tips)”
- Resources:
- Examples: bash15_ex1.sh, bash15_ex2.sh
3280 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.