-
finding source code or source file of a typical bash function
$type -a signals bash: type: signals: not found $type -a _signals _signals is a function _signals () { local -a sigs=($( compgen -P “$1” -A signal “SIG${cur#$1}” )); COMPREPLY+=(“${sigs[@]/#${1}SIG/${1}}”) } $declare -F _signals _signals $shopt -s extdebug $declare -F _signals _signals 862 /usr/share/bash-completion/bash_completion $declare -F _command _command 1732 /usr/share/bash-completion/bash_completion $declare -F compgen $declare -F _grub_dirs…
-
Shell Scripting Tutorial : View System Date, Calender
this tutorial content may not be accurate
-
Erlang Tinkering
ABOUT ERLANG Erlang (/ˈɜːrlæŋ/ UR-lang) is a general-purpose, concurrent, functional programming language, as well as a garbage-collected runtime system. The term Erlang is used interchangeably with Erlang/OTP, or OTP, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs.[3] The…
-
Hacking with the Erlang Emulator
The erl program starts an Erlang runtime system. The exact details (for example, whether erl is a script or a program and which other programs it calls) are system-dependent. commandline session $erl Erlang R15B01 (erts-5.9.1) [64-bit] [async-threads:0] [kernel-poll:false] Eshell V5.9.1 (abort with ^G) 1> b(). ok 2> double = fun(value) -> 2*value end. ** exception…