Skip to content

Instantly share code, notes, and snippets.

@mizukmb
Created April 23, 2018 15:44
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