view bin/print_args_or_input @ 6806:46cbc9c62532

<hppavilion[1]> ` echo "echo $RANDOM" > "wisdom/the meaning of life"
author HackBot
date Wed, 10 Feb 2016 06:46:08 +0000
parents 56dcce63901b
children
line wrap: on
line source

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