[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Loop with files coming through sorted by name
From: |
tolugboji |
Subject: |
Loop with files coming through sorted by name |
Date: |
Tue, 19 Oct 2021 01:54:09 +0000 |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, October 19th, 2021 at 1:48 AM, Chet Ramey <chet.ramey@case.edu>
wrote:
> On 10/18/21 7:49 PM, tolugboji wrote:
>
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >
> > On Monday, October 18th, 2021 at 10:59 PM, Greg Wooledge greg@wooledge.org
> > wrote:
> >
> > > On Mon, Oct 18, 2021 at 05:32:42PM -0400, Daniel Mills wrote:
> > >
> > > > On Sat, Oct 16, 2021 at 10:10 PM tolugboji tolugboji@protonmail.com
> > > > wrote:
> > > >
> > > > > nf=$( echo "$fnam" | awk -F '-' '{print NF}')
> > > > >
> > > > > ifld=$(( nf + 1 ))
> > > >
> > > > if you're using NF like this, you don't want to add 1, you're ending up
> > > >
> > > > with a value that's too high. I wouldn't get awk involved here, just do
> > > >
> > > > nf=${fname//[!-]}; ifld=$((${#nf}+1)). Much faster.
> >
> > > The excessive use of awk is a side effect of xmb being the primary
> > >
> > > source of advice in this thread. Very few other people are willing
> > >
> > > to give the OP any assistance at this point, because of the past year's
> > >
> > > history with them.
> >
> > Still does not change the fact you are full of shit greg. There is only one
> > person
> >
> > in the world that decides what code I shall use, And that's me. Shitty
> > american
> >
> > fuckface.
>
> I told you to cool it with the language. Now you're gone.
>
So is your brain !
- Loop with files coming through sorted by name, (continued)
- Loop with files coming through sorted by name, tolugboji, 2021/10/16
- Re: Loop with files coming through sorted by name, Daniel Mills, 2021/10/16
- Loop with files coming through sorted by name, tolugboji, 2021/10/16
- Re: Loop with files coming through sorted by name, Daniel Mills, 2021/10/16
- Re: Loop with files coming through sorted by name, Dennis Williamson, 2021/10/16
- Loop with files coming through sorted by name, tolugboji, 2021/10/16
- Re: Loop with files coming through sorted by name, Daniel Mills, 2021/10/18
- Re: Loop with files coming through sorted by name, Greg Wooledge, 2021/10/18
- Loop with files coming through sorted by name, tolugboji, 2021/10/18
- Re: Loop with files coming through sorted by name, Chet Ramey, 2021/10/18
- Loop with files coming through sorted by name,
tolugboji <=
- Re: Loop with files coming through sorted by name, Chet Ramey, 2021/10/19
- Loop with files coming through sorted by name, tolugboji, 2021/10/19
Re: Loop with files coming through sorted by name, Dennis Williamson, 2021/10/15