view bin/print_args_or_input @ 8286:ca89397502cf

<shachaf> delquote 1281
author HackBot
date Thu, 02 Jun 2016 04:04:49 +0000
parents 56dcce63901b
children
line wrap: on
line source

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