view bin/print_args_or_input @ 9513:ae4d924e677f

<oerjan> sled bin/sled//s/[&][&].*/;/
author HackBot
date Sat, 29 Oct 2016 19:32:53 +0000
parents 56dcce63901b
children
line wrap: on
line source

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