Skip to content

Instantly share code, notes, and snippets.

@mizukmb
Created April 23, 2018 15:44
Show Gist options
  • Save mizukmb/ec647c8377951a3037e4e608b04c9300 to your computer and use it in GitHub Desktop.
Save mizukmb/ec647c8377951a3037e4e608b04c9300 to your computer and use it in GitHub Desktop.
#!/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