On Tue, Aug 17, 2021 at 5:36 AM Dale R. Worley wrote:
>cat $( glob * )
>
> where glob would get one argument, "*", and output a list of file
> names. A glob-by-modification-date program would be a better solution
> for this need, IMHO.
>
So that program would have to duplicate the globbing
On Tue, Aug 17, 2021 at 10:26:21AM +0300, Oğuz wrote:
> On Tue, Aug 17, 2021 at 6:31 AM Greg Wooledge wrote:
> > An option to change the glob sorting order would actually be useful,
> > not for a large number of scripts, but for a very specific problem domain
> > where the shell is often used. Is
On Tue, Aug 17, 2021 at 6:31 AM Greg Wooledge wrote:
> An option to change the glob sorting order would actually be useful,
> not for a large number of scripts, but for a very specific problem domain
> where the shell is often used. Is it critically important? No. But it
> would be helpful.
I
Date:Mon, 16 Aug 2021 22:35:12 -0400
From:"Dale R. Worley"
Message-ID: <875yw4yf1b@hobgoblin.ariadne.com>
| Back in the old, old days, there was a program named "glob" that did
| pathname expansions.
That's correct.
But:
| So you wouldn't say
|
|c
On Mon, Aug 16, 2021 at 10:35:12PM -0400, Dale R. Worley wrote:
> Back in the old, old days, there was a program named "glob" that did
> pathname expansions. So you wouldn't say
>
>cat *
>
> you'd say
>
>cat $( glob * )
Tcl still does it that way. Not with that syntax, but the command
"Chris F.A. Johnson" writes:
> It would be nice if there were an option to allow * to expand sorted
> by timestamp rather than aphabetically.
Generally, a new option is not a good way to accomplish this, as an
option has global effects and can cause other parts of the code to
malfunction.
Back i
On Wed, 11 Aug 2021, Chet Ramey wrote:
On 8/10/21 5:08 PM, Chris F.A. Johnson wrote:
It would be nice if there were an option to allow * to expand sorted
by timestamp rather than aphabetically.
When you say `timestamp' I assume you mean by last modification time.
Yes, that's what I meant.
On Wed, Aug 11, 2021 at 10:43:12AM -0400, Chet Ramey wrote:
> On 8/10/21 5:08 PM, Chris F.A. Johnson wrote:
> >
> > It would be nice if there were an option to allow * to expand sorted
> > by timestamp rather than aphabetically.
>
> When you say `timestamp' I assume you mean by last modification
On 8/10/21 5:08 PM, Chris F.A. Johnson wrote:
It would be nice if there were an option to allow * to expand sorted
by timestamp rather than aphabetically.
When you say `timestamp' I assume you mean by last modification time.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer