[TriLUG] Changing slashes to backslashes in prompt

Mike Viscount via TriLUG trilug at trilug.org
Fri Apr 19 18:20:03 EDT 2019


Very nice Stephen!

Didn't your sig line used to be something like :Regular expressions are
your friend" ?  I always liked that ... and to Bick I'd say go learn about
regular expressions or at least put it on your list of things to learn ...
they will take you a long, long way!

Mike

On Fri, Apr 19, 2019 at 6:02 PM Stephen P. Schaefer via TriLUG <
trilug at trilug.org> wrote:

> Yes, you should try to pretend that a linux shell is anything like
> Windows cmd prompt, but the Linux shell is Turing equivalent (ignoring
> various value limits induced by variable bits and RAM size that render
> it, like any actual program, a finite state machine), so if the problem
> is Turing evaluable, as this one is, the shell can do it; the question
> is "merely" how elegantly it can do so.
>
> Here's how I approached this.
>
> [snipped for brevity]


More information about the TriLUG mailing list