view bin/print_args_or_input @ 5325:45e95842eb85

<izabera> ` echo james lily >> bin/emptylist
author HackBot
date Thu, 23 Apr 2015 06:53:46 +0000
parents ab96ba09ae17
children
line wrap: on
line source

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