| a 'delayed output operator' like e.g. >|| that would first create
| an exclusive temporary (dot-)file in the same directory

Or maybe bra and ket instead: There is a probability that
the file may show up, but it may not... It only does if all
commands in the pipe had 0 as exit status and then has
a new inode number I could test with stat or ls -i if I have
to know. If any non-zero exit status, then the old file stays
in place (if there was one), and I can try again. Just having
some fun with/at quantum physics.  :-)

<| tr -d \\r myfile.txt | nl | iconv -fL1 -tU8 |> myfile.txt  || print
-u2 "try again"


Markus
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to