[TUHS] Slashes

Christian Neukirchen chneukirchen at gmail.com
Mon Jul 11 00:38:49 AEST 2016


Milo Velimirovic <milov at cs.uwlax.edu> writes:

>> On Jul 9, 2016, at 12:03 PM, John Cowan <cowan at mercury.ccil.org> wrote:
>> 
>> Dave Horsfall scripsit:
>> 
>>> I still remember when the pipe command was "^" (pointy hat).
>> 
>> Thus forcing the rest of us to quote grep patterns like '^foo$' forever.
>
> It’s the $ that forces the quoting.

Not in POSIX-compatible sh (works in tcsh even):

$ echo see$
see$

(Neither does ^ need quoting there.)

-- 
Christian Neukirchen  <chneukirchen at gmail.com>  http://chneukirchen.org


More information about the TUHS mailing list