Really Weird Shell - the structural regular expression shell - Programming On Unix

Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
Quote:shell's job is mainly to process output from different programs

I disagree with that. The shell's job is to handle IPC, and that's it. Text processing is done by the processes themselves, the shell only connects outputs to the next process input.
Otherwise, you're creating a full blown text processor, that happens to have a way to start processes.

I love the structural expression approach, but I think you should focus on that rather than making a complete shell. That wouldn't make much difference:

Code:
dmesg |> ,x/[lL]inux/ c/GNU+Linux/ |> ,p

would then be (reusing sed's flags):

Code:
dmesg | se -e ',x/[lL]inux/ c/GNU+Linux/'


Messages In This Thread
RE: Really Weird Shell - the structural regular expression shell - by z3bra - 12-05-2019, 11:32 AM