In a simple case, let say we have some standard error:
$ ls /fake/file
ls: /fake/file: No such file or directory
QUESTION: Is it possible to parse out "/fake/file
" from the standard error without having to write it out to a file first? For example:
$ ls /fake/file 2> tmp.file; sed 's/.* \(.*\):.*/\1/' tmp.file
/fake/file