Created
May 14, 2022 14:10
-
-
Save PythonCoderAS/8380a259ac3c19a0a0b55a0e34ba14f2 to your computer and use it in GitHub Desktop.
zsh one-liner to get first word from every line in clipboard and separate by spaces #oh-my-zsh #awk #sed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo `clippaste | awk '{print $1}' | sed 's/://g'` | clipcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment