454 reputation
27
bio website
location Minneapolis, MN
age
visits member for 3 years, 8 months
seen Jul 30 at 22:07

Apr
29
awarded  Yearling
Mar
6
revised Break out of nested functions in a shell
Don't know why I did it the function trace way. It's not usually necessary.
Mar
6
revised Break out of nested functions in a shell
added 9 characters in body
Mar
6
answered Break out of nested functions in a shell
Mar
6
comment Break out of nested functions in a shell
Ahh ok, gotcha.
Mar
6
comment Break out of nested functions in a shell
Functions can't be nested in shell. There are no closures. Did you mean break out of all but the outermost scope? Innermost doesn't make sense.
Feb
1
awarded  Analytical
Feb
1
awarded  Informed
Jan
23
comment why “cd -” in .sh file will print the address
This method is fine. It isn't "double work", it's just hiding output (the shell doesn't literally have to run through all the steps necessary to run two commands). You also have to hide output in a similar manner if using pushd/popd in a script.
Jan
19
awarded  Nice Answer
Jan
19
revised How can I pipeline specific line of file as a command in linux command line?
Bash bug was fixed
Jan
19
comment why “cd -” in .sh file will print the address
Dunno. Also added ~-, pushd, popd
Jan
19
answered why “cd -” in .sh file will print the address
Jan
16
awarded  Yearling
Jan
16
answered Make bash terminal cursor flash to the beat of Survivor - “eye of the tiger”
Dec
21
comment Deleting Certain Extension with Bash (quickly)
Because it's a fork for every single rm. You should either use -exec rm -- {} +, or the GNU find -delete.
Oct
19
answered Bash - turn off monitor mode by default
Sep
13
awarded  Critic
Jul
27
awarded  Editor
Jul
13
awarded  Supporter