view bin/print_args_or_input @ 5465:d2fdb9c12e32

<oerjan> undo 5464
author HackBot
date Sun, 07 Jun 2015 16:47:56 +0000
parents ab96ba09ae17
children
line wrap: on
line source

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