Created
February 20, 2024 05:40
-
-
Save dkam/bd37ac9fa6a99fcb2eab3f0d3fbf5f3f to your computer and use it in GitHub Desktop.
Copy and paste snippet
This file contains 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
def zzz | |
t = `pbpaste` | |
`echo "#{t.split.map {|t| t.tr(',', '') }.join(', ')}" | pbcopy` | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment