HackerTrans
TopNewTrendsCommentsPastAskShowJobs

laptopdev

no profile record

comments

laptopdev
·3 months ago·discuss
showdef () { local file= if [[ $1 == -f ]] then file=$2 shift 2 fi if [[ -n $file ]] then ( shopt -s expand_aliases source "$file" 2> /dev/null showdef "$1" ) return fi if alias "$1" &> /dev/null then alias "$1" elif declare -f "$1" &> /dev/null then declare -f "$1" elif [[ -n ${!1} ]] then echo "${!1}" else echo "No alias, function, or environment variable found for '$1'" fi }

This looks up the definition of a shell name — alias, function, or environment variable — and prints it. with -f [.bashrc (for example)] it sources the given file in a subshell before running the lookup in that subshell.
laptopdev
·8 months ago·discuss
Carnivore
laptopdev
·9 months ago·discuss
If computer usage hampers a child's socialization with the group he's learning with, maybe the simplest and most meaningful solution would be preventing children enrolled in language comprehension classes from having access to computers at home particularly at core language and reasoning stages in development.
laptopdev
·9 months ago·discuss
Well, I know how sober a driver should be...