3 ms·
sed is also a Turing-complete language.
by chasil 3y ago
sed is also a Turing-complete language.
- vorakl 3y agoInteresting! I just wonder... How would you do a conditional branching in sed?
- chasil 3y agoThere is a conditional branch instruction in sed that is taken if the last substitute command was successful. The O'Reilly book on sed & awk is available online for free from various sources (I grabbed a rar archive of it from somewhere). https://freecomputerbooks.com/The-Unix-CD-Bookshelf-Version-2-1.html https://freecomputerbooks.com/The-Unix-CD-Bookshelf-Version-...