view bin/print_args_or_input @ 9282:be92b13ab45c

<shachaf> ` ln -s tmp/spout spout
author HackBot
date Fri, 14 Oct 2016 17:44:52 +0000
parents 56dcce63901b
children
line wrap: on
line source

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