changeset 11075:af2c7f210c73

<oerjan> sled bin/`//s,[$]1,$cmd,;1acmd="${1-quote}"
author HackBot
date Wed, 05 Jul 2017 23:02:02 +0000
parents 54a9b2ce69c4
children 58a63c67dd0c
files bin/`
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/`	Mon Jul 03 21:06:32 2017 +0000
+++ b/bin/`	Wed Jul 05 23:02:02 2017 +0000
@@ -1,4 +1,5 @@
 #!/bin/bash
+cmd="${1-quote}"
 TIMEFORMAT="real: %lR, user: %lU, sys: %lS"
 shopt -s extglob globstar
-eval -- "$1" | rnooodl
+eval -- "$cmd" | rnooodl