view bin/print_args_or_input @ 11226:c08627cbe6f0

<oerjan> revert
author HackBot
date Tue, 17 Oct 2017 02:15:13 +0000
parents 56dcce63901b
children
line wrap: on
line source

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