File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+ dir=" $( cd " $( dirname " $0 " ) " && pwd) "
5+ script=" ${dir} /../dist/ColorEcho.bash"
6+ . " ${script} "
7+
8+ awk ' /^function +echo/ {print $2}' " ${script} " | while IFS= read -r x
9+ do
10+ $x " $x "
11+ done
Original file line number Diff line number Diff line change 1+ # !/usr/bin/env fish
2+
3+ set dir (cd (dirname (status --current-filename )); and pwd )
4+ set script " $dir /../dist/ColorEcho.fish"
5+ . " $script "
6+
7+ for x in (awk ' /^function +echo/ {print $2}' " $script " )
8+ eval $x " $x "
9+ end
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env ksh
2+
3+ set -e
4+ dir=" $( cd " $( dirname " ${0} " ) " && pwd) "
5+ script=" ${dir} /../dist/ColorEcho.ksh"
6+ . " ${script} "
7+
8+ awk ' /^function +echo/ {print $2}' " ${script} " | while IFS= read -r x
9+ do
10+ $x " $x "
11+ done
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ set -e
4+ dir=" $( cd " $( dirname " $_ " ) " && pwd) "
5+ script=" ${dir} /../dist/ColorEcho.sh"
6+ . " ${script} "
7+
8+ grep -E " echo[a-zA-Z]+()" " ${script} " | sed ' s/()//g' | while IFS= read -r x
9+ do
10+ $x " $x "
11+ done
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env zsh
2+
3+ set -e
4+ dir=" $( cd " $( dirname " ${(% ):-% N} " ) " && pwd) "
5+ script=" ${dir} /../dist/ColorEcho.zsh"
6+ . " ${script} "
7+
8+ awk ' /^function +echo/ {print $2}' " ${script} " | while IFS= read -r x
9+ do
10+ $x " $x "
11+ done
You canβt perform that action at this time.
0 commit comments