Closed adbennet closed 5 years ago
Very strange... pbpaste prints to the stdout but doesn't write to the file. It doesn't write to the stderr since the text is printed in green and not in red. I will try to debug.
NULL gets written to the file. If that helps the debugging.
I fixed it
I am still seeing the same behavior in "LibTerm version 3.0.1 (3), Dec 16, 2018 at 11:27 AM". Later I will update to version 4 and retry. update: Fixed in 4.0.1 (2), Dec 21, 2018 at 4:44 PM. Thanks.
It seems commands failed to replace. Thank you for reporting!
I just fixed it.
Neither | nor > works with pbpaste. Maybe it is going to stderr instead of stdout? A simple demo: $ echo 'foo bar' > tmp $ wc tmp 1 2 8 tmp $ cat tmp | pbcopy $ pbpaste foo bar $ pbpaste | wc foo bar 0 0 0 $ pbpaste > tmp foo bar $ wc tmp 0 0 0 tmp $