Thanks -- I'll try that sometime tomorrow!
On Tuesday, December 03, 2019 07:24:49 PM David wrote:
> On Wed, 4 Dec 2019 at 01:36, wrote:
> > I always have trouble with all the rigamarole around quoting for the
> > shell vs. quoting for the regex (or quoting or not quoting for anything
> > else).
>
On Wed, 4 Dec 2019 at 01:36, wrote:
> I always have trouble with all the rigamarole around quoting for the shell vs.
> quoting for the regex (or quoting or not quoting for anything else).
>
> I don't know what it will take to get it to sink into my head. (Maybe in my
> next life ;-)
Hi, yes, it
On Tue, Dec 03, 2019 at 10:18:59AM -0500, Stefan Monnier wrote:
> > I think the canonical name is "metasyntactic variable" [1]. I've
> > seen also just "metavariable", although Wikipedia would say that
> > the latter belongs in the realm of logic [2], not programming.
>
> AFAICT those two usages a
> I think the canonical name is "metasyntactic variable" [1]. I've
> seen also just "metavariable", although Wikipedia would say that
> the latter belongs in the realm of logic [2], not programming.
AFAICT those two usages are one and the same: when you see "foo" it's
because the code is actually
On Ma, 03 dec 19, 15:09:45, Jonas Smedegaard wrote:
>
> What I have so far settled on is to distinguish "variables" in capital
> letters, and explicitly hint that it should be changed, like this:
>
> With 'find' instead of 'locate' (adapt dir):
>
> find DIR_WITH_REPOS -type d -name .git
>
>
On Tue, Dec 03, 2019 at 08:07:16AM -0500, rhkra...@gmail.com wrote:
[...]
> On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> > With 'find' instead of 'locate'.
[...]
> It took me a minute (well, a trial) to realize that dir_with_repos is a
> metaname (right word?). I prefer a
On Tuesday, December 03, 2019 09:01:16 AM Greg Wooledge wrote:
> On Tue, Dec 03, 2019 at 05:54:33AM -0500, Rh Kramer wrote:
> > locate --regex \/\.gitignore
>
> Your quoting is all wrong here. What you want is:
>
> locate --regex '/\.gitignore'
>
> The / does not need to be quoted, either for t
On Tuesday, December 03, 2019 09:09:45 AM Jonas Smedegaard wrote:
> With 'find' instead of 'locate' (adapt dir):
>
> find DIR_WITH_REPOS -type d -name .git
That helps, also, especially with the note "adapt dir" (or maybe "adjust dir",
or "specify dir appropriately" (I don't know why I'm trying
On Tuesday, December 03, 2019 08:39:28 AM Brian wrote:
> On Tue 03 Dec 2019 at 08:07:16 -0500, rhkra...@gmail.com wrote:
> > On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> > > With 'find' instead of 'locate'.
> > >
> > > find dir_with_repos -type d -name .git
> > >
> > > or
Quoting Brian (2019-12-03 14:39:28)
> On Tue 03 Dec 2019 at 08:07:16 -0500, rhkra...@gmail.com wrote:
>
> > On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> > > With 'find' instead of 'locate'.
> > >
> > > find dir_with_repos -type d -name .git
> > >
> > > or
> > >
> > >
On Tue, Dec 03, 2019 at 05:54:33AM -0500, Rh Kramer wrote:
> locate --regex \/\.gitignore
Your quoting is all wrong here. What you want is:
locate --regex '/\.gitignore'
The / does not need to be quoted, either for the shell, or for the
regex. It's just a regular old character with no special
On Tue 03 Dec 2019 at 08:07:16 -0500, rhkra...@gmail.com wrote:
> On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> > With 'find' instead of 'locate'.
> >
> > find dir_with_repos -type d -name .git
> >
> > or
> >
> > find dir_with_repos -type d -name "*.git"
> >
> > if
Andrei,
Thanks very much! (Please forgive the nitpicky comment below.)
On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> With 'find' instead of 'locate'.
>
> find dir_with_repos -type d -name .git
>
> or
>
> find dir_with_repos -type d -name "*.git"
>
> if you also h
On Ma, 03 dec 19, 05:54:33, Rh Kramer wrote:
> Notes:
>
>* In general, reply to the list, I am subscribed under a slightly
> different
> username and will see any replies.
>
>* As is often the case, there is more than one way to skin this cat,
> although I won't mind other approaches,
Ohh, two more things:
On the following line, I failed to delete the last i (part of ignore)
> /rhk03/Dusan_scintilla_git/RS041-scintilla-syntax-highlighter/.giti
Ahh, I think I found my problem -- .git is a directory, not a file -- sorry
for the noise.
On Tuesday, December 03, 2019 5:54:33 AM
Notes:
* In general, reply to the list, I am subscribed under a slightly different
username and will see any replies.
* As is often the case, there is more than one way to skin this cat,
although I won't mind other approaches, especially if they are simpler, I
would like to learn what I'
16 matches
Mail list logo