cat file.txt | pbcopycmd 2>&1 | pbcopypbcopy < /file/to/streampbpaste > cat file.txt
pbpaste | tee file.txt# ROT-13 a text
pbpaste | tr 'a-zA-Z' 'n-za-mN-ZA-M' | pbcopycat file.txt | pbcopycmd 2>&1 | pbcopypbcopy < /file/to/streampbpaste > cat file.txt
pbpaste | tee file.txt# ROT-13 a text
pbpaste | tr 'a-zA-Z' 'n-za-mN-ZA-M' | pbcopy