Skip to content

Instantly share code, notes, and snippets.

@mizukmb
Created Apr 23, 2018
Embed
What would you like to do?
#!/bin/sh
word=''
if [ -p /dev/stdin ]; then
word=$(cat -)
else
word=$1
fi
echo :ejoneco: \< $word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment