view bin/print_args_or_input @ 10971:0b7c2ac84f2e

<oerjan> revert
author HackBot
date Mon, 29 May 2017 08:09:08 +0000
parents 56dcce63901b
children
line wrap: on
line source

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