3 ms·
Pretty sure this won't work if the script is called via $PATH
by 7786655 6y ago
Pretty sure this won't work if the script is called via $PATH
- pwdisswordfish2 6y agox=$(command -v $0 2>/dev/null) sed -rn 's/^### ?//;T;p' $x Personally I would not use the author's chosen sed commands. exec sed -n '/^###/p' $x would work fine.