On Tue, 01 Nov 2016 16:23:08 +1100, Ben Finney wrote: > Wildman via Python-list <[email protected]> writes: > >> […] in this case grep never "sees" the '$' sign. Bash expands $USER to >> the actual user name beforehand. > > I understand how Bash substitutes variables on the command line. > > What I need to repeat, though: In this case, no, Bash doesn't do that > because Bash isn't getting involved. Grep does in fact see the “$” in > the command argument, because nothing ever replaces it.
I understand now. Thank you. -- <Wildman> GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list
