supermin/supermin-find-requires

17 lines
188 B
Plaintext
Raw Normal View History

2020-03-02 12:35:26 +08:00
#!/bin/bash -
function process_file
{
cat "$1"
}
if [ "$#" -ge 1 ]; then
for f in "$@"; do
process_file "$f"
done
else
while read line; do
process_file "$line"
done
fi