Skip to content

Instantly share code, notes, and snippets.

@refi64
Created March 8, 2016 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save refi64/86b173a0804b3b936999 to your computer and use it in GitHub Desktop.
Save refi64/86b173a0804b3b936999 to your computer and use it in GitHub Desktop.
Surrounds the input words with quotes and puts them (comma-seperated) into 84-column lines
w:0:"/dev/stdin"
`0:(" ",)'{y:"'",y,"', ";:[80<(#y)+#*|x;x,,y;:[#x;(-1_ x),,(*|x),y;,y]]}/(,()),{:[(*|x)~(#*|x)#y;(-1_ x),(,y),(-1#x);x,,y]}/(,()),?w@<w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment