view bin/print_args_or_input @ 7125:d251c26c906e

<oerjan> learn Testing might eventually succeed.
author HackBot
date Sun, 06 Mar 2016 01:00:38 +0000
parents 56dcce63901b
children
line wrap: on
line source

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