2 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using bash shell's extended pattern matching.
What tweak the following code needs in order to get the expected output?
shopt -s extglob
My expected output is:
but the actual output is:
# that is, how to... (3 Replies)
Discussion started by: royalibrahim
2. Shell Programming and Scripting
I am using BASH. In a directory there are files that match either of the following 2 patterns: *.L1A_AC* or S*.L1A_MLAC*
I would like to write a script that will include a for loop, where for each file in the directory, a certain function will be performed. For example:
for FILE in... (4 Replies)
Discussion started by: msb65