view bin/print_args_or_input @ 5347:df88f351a89d

<b_jonas> ` echo $\'#!/bin/sh\\nwelcome "$@" | tr Ww Vv\' > bin/velcome && chmod a+x bin/velcome
author HackBot
date Mon, 04 May 2015 22:32:29 +0000
parents ab96ba09ae17
children
line wrap: on
line source

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