Re: Escaping grep
bodiccea <[email protected]> Sat, 17 Apr 2021 19:21:27 +0200
| Newsgroups | alt.comp.lang.shell.unix.bourne-bash |
|---|---|
| Organization | Guest of ProXad - France |
| Message-ID | <20210417192127.062f589f@lorien> |
On Sat, 17 Apr 2021 11:08:36 -0500, "Michael F. Stemper" <[email protected]> wrote: > > # with quotes > > br@lorien:~/.claws-mail$ printf "%s\n" "^\\\\usep" > > ^\\usep <-- passed to grep, correct > > > > # with double quotes > > br@lorien:~/.claws-mail$ printf "%s\n" '^\\usep' > > ^\\usep <-- passed to grep, correct > > That's a really good idea. Thanks for the pro-tip. (But I think > that your last comment has a typo.) indeed, the 2 comments are messed up :*) -- Dragons Don't Believe In You Either.