diff --git a/reporting/markslider b/reporting/markslider index 37b350c..8929b82 100755 --- a/reporting/markslider +++ b/reporting/markslider @@ -40,7 +40,7 @@ function slide_exec { !/^# /{ print $0; } -' "$1" | sed -n '/^'$2'# /,/^'$j'# /p' | grep "^\&( " | sed -e 's,^\&( ,,' -e 's,)$,,' ) +' "$1" | sed -n '/^'$2'# /,/^'$j'# /p' | grep "\&(.*)" | sed -e 's,[^\&]*\&( ,,' -e 's,)[^)]*,,' ) # restore cursor position to bottom of slide echo -ne "${E}u" while read line @@ -53,7 +53,7 @@ function slide_exec { !/^# /{ print $0; } -' "$1" | sed -n '/^'$2'# /,/^'$j'# /p' | grep "^\$( " | sed -e 's,^\$( ,,' -e 's,)$,,' ) +' "$1" | sed -n '/^'$2'# /,/^'$j'# /p' | grep "\$(.*)" | sed -e 's,[^\$]*\$( ,,' -e 's, )[^)]*,,' ) } @@ -234,8 +234,9 @@ Object Area Perimeter * "$ ( command )" to print the output * "& ( command )" run process in background -&( xeyes ) -$( ls ) + &( xeyes ) + $( ls ) + $( echo You can hide commands too... )Hidden command # Hints: Other tools @@ -257,7 +258,7 @@ $( ls ) _jgs______/_ __ \__________ | | | MarkSlider | -|___________________________| +|___________________________| # Hints: More tools * JPEG to ascii: jp2a