view bin/print_args_or_input @ 11270:0e5762d8b214

<oerjan> le/rn nak//
author HackBot
date Thu, 14 Dec 2017 21:53:03 +0000
parents 56dcce63901b
children
line wrap: on
line source

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