view bin/print_args_or_input @ 9290:d9054ff7a1e2

<oerjan> delquote 1293
author HackBot
date Sat, 15 Oct 2016 16:07:03 +0000
parents 56dcce63901b
children
line wrap: on
line source

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