Reputation
12,267
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
19 36
Impact
~492k people reached

Nov
30
comment Error when exporting the result of a valid command as a bash variable
Can you run your script with set -xv?
Nov
30
answered significance behind escaping parentheses in expr match
Nov
30
revised significance behind escaping parentheses in expr match
added 24 characters in body
Nov
29
answered Modify an SVG file based on information in a CSV file
Nov
29
answered Write a script that reads a number and counts down to 0?
Nov
28
answered Bash variables - Any extract tricks based on the order?
Nov
24
revised What purpose does reassigning a variable to itself via echo serve?
added 2 characters in body
Nov
24
revised What purpose does reassigning a variable to itself via echo serve?
added 459 characters in body
Nov
24
answered What purpose does reassigning a variable to itself via echo serve?
Nov
24
comment Regex - script check for allowed characters
@Batty: Better to ask this as a new question.
Nov
24
answered Shell script using function () not finding command
Nov
24
revised Regex - script check for allowed characters
added 66 characters in body
Nov
24
answered Regex - script check for allowed characters
Nov
24
awarded  Guru
Nov
22
comment How to pass array variable to function and solve out the no command found error
Line number 2 is the line below the shebang line.
Nov
22
answered How to pass array variable to function and solve out the no command found error
Nov
22
revised How to pass array variable to function and solve out the no command found error
added 17 characters in body
Nov
22
comment How to pass array variable to function and solve out the no command found error
Try adding set -xv at line 2 of your script and running it again. It'll show you what shell sees and runs.
Nov
22
comment How to pass array variable to function and solve out the no command found error
You should have selected the code and pressed Ctrl+K, too.
Nov
22
comment How to pass array variable to function and solve out the no command found error
It wouldn't help. Having a code I can run and understand would, though.