view bin/print_args_or_input @ 10187:9abd6f75c733

<oerjan> le//rn lazy//la
author HackBot
date Sun, 29 Jan 2017 10:25:14 +0000
parents 56dcce63901b
children
line wrap: on
line source

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