Closed pankgeorg closed 4 years ago
Does that command work outside of the extension? I'd be surprised if you can pipe back into the file you are piping out of.
e.g.
Creating a file test.txt
with some content and running
cat test.txt > test.txt
wipes out the file contents instead of writing to it.
This doesn't appear to be an issue with the extension but an issue with piping data back into the same file that it is being piped from.
This doesn't work (Pipe to file)
This is a workaround:
Any ideas?