6 lines
89 B
Bash
Executable file
6 lines
89 B
Bash
Executable file
#!/bin/sh
|
|
|
|
command=$1
|
|
file=$(mktemp --suffix=$2)
|
|
cat < /dev/stdin > $file
|
|
$command $file
|