From b269f4902eb75ba7305e477e0f1dab216a0cadbb Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Fri, 26 Jan 2018 12:50:49 +0100 Subject: [PATCH] Demonstrate -e and --exec flags --- screencast.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/screencast.sh b/screencast.sh index 490046c..3aaf675 100644 --- a/screencast.sh +++ b/screencast.sh @@ -8,9 +8,8 @@ enter() { type $PROMPT type $1 sleep 0.5 - type " " - sleep 0.25 - type "\n" + printf '%b' " ⏎\n" + sleep 0.1 eval $1 type "\n" unset IFS @@ -22,6 +21,10 @@ type() { enter "fd" +enter "fd -e md" + +enter "fd -e md --exec wc -l" + enter "fd mod" enter "fd sh"