view bin/print_args_or_input @ 7551:9dde43eb672d

<hppavilion[1]> rm test
author HackBot
date Wed, 27 Apr 2016 22:54:02 +0000
parents 56dcce63901b
children
line wrap: on
line source

#!/bin/bash
if [ "$#" -gt 0 ]; then printf '%s\n' "$*"; else cat; fi