view bin/print_args_or_input @ 11196:e4d1c3903e26

<shachaf> swrjan s/thrice/twice/
author HackBot
date Thu, 21 Sep 2017 00:46:21 +0000
parents 56dcce63901b
children
line wrap: on
line source

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