1
0
Fork 0
dotfiles/bin/pipe
2017-12-04 22:12:36 -08:00

6 lines
89 B
Bash
Executable file

#!/bin/sh
command=$1
file=$(mktemp --suffix=$2)
cat < /dev/stdin > $file
$command $file