We often read (including in the book Advanced Bash-Scripting Guide by Mendel Cooper) that if we pass variable names as parameters to functions, they will be treated as string literals and cannot be dereferenced (ie the value is not available).
But this is not so, variable names can be passed as parameters to functions and they can be dereferenced to obtain the value of the variable with the given name.
read more...
Tech Tip: Create an Automatically Scrolling Reader
By combining three useful command-line tools (less, watch and xdotool) along with two xterm windows, you can create an automatically scrolling reader. Say you have a good book in...
Debugging Variables - Derick Rethans
Debugging Variables London, UK Thursday, February 10th 2011, 09:12 GMT Sometimes you want to inspect the contents of variables more closely, by looking at its internal properties. For...
Francesco Montefoschi's Blog: PHPADD: abandoned...
Francesco Montefoschi has a recent post to his blog looking at a tool you could use to ensure the quality of your code comments - PHPADD, the abandoned docblock detector. PHPADD can...
Post new comment