annotate bin/` @ 11075:af2c7f210c73

<oerjan> sled bin/`//s,[$]1,$cmd,;1acmd="${1-quote}"
author HackBot
date Wed, 05 Jul 2017 23:02:02 +0000
parents 2849cbc2dc08
children 7df6e3f0219f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10752
2849cbc2dc08 <moonythedwarf> revert
HackBot
parents: 10751
diff changeset
1 #!/bin/bash
11075
af2c7f210c73 <oerjan> sled bin/`//s,[$]1,$cmd,;1acmd="${1-quote}"
HackBot
parents: 10752
diff changeset
2 cmd="${1-quote}"
10752
2849cbc2dc08 <moonythedwarf> revert
HackBot
parents: 10751
diff changeset
3 TIMEFORMAT="real: %lR, user: %lU, sys: %lS"
2849cbc2dc08 <moonythedwarf> revert
HackBot
parents: 10751
diff changeset
4 shopt -s extglob globstar
11075
af2c7f210c73 <oerjan> sled bin/`//s,[$]1,$cmd,;1acmd="${1-quote}"
HackBot
parents: 10752
diff changeset
5 eval -- "$cmd" | rnooodl