4 ms·
Just copy the text and use `sed` on your clipboard to transform your text. On macOS: pbpaste | sed 's/^.*$/ &/' | pbcopy
by Allezxandre 6y ago
Just copy the text and use `sed` on your clipboard to transform your text.
On macOS:
pbpaste | sed 's/^.*$/ &/' | pbcopy
- yesenadam 6y agoPerhaps it's more readable/writeable with Awk: pbpaste | awk '{print " "$0}' | pbcopy Although this also seems to do the same thing pbpaste | sed 's/^/ &/' | pbcopy