view bin/print_args_or_input @ 6298:aad3671dc6a9

<oerjan> rm a.o
author HackBot
date Sat, 28 Nov 2015 07:22:39 +0000
parents 56dcce63901b
children
line wrap: on
line source

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