view bin/print_args_or_input @ 11199:30a21a76ab37

<shachaf> revert
author HackBot
date Tue, 26 Sep 2017 10:44:08 +0000
parents 56dcce63901b
children
line wrap: on
line source

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