view bin/print_args_or_input @ 9257:3d6cc7ad23b3

<oerjan> sled bin/hlnp//s,/g,/,
author HackBot
date Thu, 13 Oct 2016 16:41:37 +0000
parents 56dcce63901b
children
line wrap: on
line source

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