view bin/print_args_or_input @ 7068:8999c7fb91ea

<oerjan> touch test2
author HackBot
date Wed, 02 Mar 2016 23:48:40 +0000
parents 56dcce63901b
children
line wrap: on
line source

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