view bin/print_args_or_input @ 4587:6df398684375

<oerjan> chmod +x url; mv url bin
author HackBot
date Sat, 19 Apr 2014 23:50:37 +0000
parents ab96ba09ae17
children
line wrap: on
line source

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