On Thu, Apr 26, 2007 at 03:15:16AM -0700, Garrett Cooper wrote:
> Gary Kline wrote:
[[ ... ]]
> Or my favorite structure (bourne shell style)..
>
> for i in `ls -l | awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" &&
> $7 == 26 ) print $9}'`; do vi $i; done
>
> Could you provide exam
Gary Kline wrote:
On Wed, Apr 25, 2007 at 06:21:52AM -0500, Derek Ragona wrote:
At 02:29 AM 4/25/2007, Gary Kline wrote:
Guys,
This is an awk-type question. Hopefully a one-liner. If I
need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is),
that's okay...
Matthew Seaman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Irsla wrote:
Hi,
On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
what about the -exec option of find ? I always wonder why people don't
use it.
fi
Gary Kline wrote:
On Wed, Apr 25, 2007 at 08:49:56AM +0100, Matthew Seaman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Gary Kline wrote:
Guys,
This is an awk-type question. Hopefully a one-liner. If I
need to use #!/usr/bin/awk and a BEGIN/END (or whate
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Irsla wrote:
> Hi,
>
> On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
>>
>>find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
>>
>
> what about the -exec option of find ? I always wonder why people don't
> use it.
>
> find
On Wed, 25 Apr 2007 14:53:26 -0700
Bill Campbell <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 25, 2007, Thomas Dickey wrote:
> >On Wed, Apr 25, 2007 at 10:31:45PM +0200, Irsla wrote:
> >> On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> >> >
> >> > find . -type f \( -mtime 6 -o -mtime 29 \) -
On Wed, Apr 25, 2007 at 10:31:45PM +0200, Irsla wrote:
> Hi,
>
> On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> >
> > find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
> >
>
> what about the -exec option of find ? I always wonder why people don't use
> it.
>
> find . -
On Wed, Apr 25, 2007, Thomas Dickey wrote:
>On Wed, Apr 25, 2007 at 10:31:45PM +0200, Irsla wrote:
>> On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
>> >
>> > find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
>> >
>>
>> what about the -exec option of find ? I always wonder
On Wed, Apr 25, 2007 at 10:31:45PM +0200, Irsla wrote:
> On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> >
> > find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
> >
>
> what about the -exec option of find ? I always wonder why people don't use
> it.
it's simpler but not
Hi,
On 4/25/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi
what about the -exec option of find ? I always wonder why people don't use it.
find . -type f \( -mtime 6 -o -mtime 29 \) -exec vi {} \;
'{}" <= is the filename fin
On Wed, Apr 25, 2007 at 06:21:52AM -0500, Derek Ragona wrote:
> At 02:29 AM 4/25/2007, Gary Kline wrote:
> >Guys,
> >
> >This is an awk-type question. Hopefully a one-liner. If I
> >need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is),
> >that's okay...
>
On Wed, Apr 25, 2007 at 08:49:56AM +0100, Matthew Seaman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: RIPEMD160
>
> Gary Kline wrote:
> > Guys,
> >
> > This is an awk-type question. Hopefully a one-liner. If I
> > need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is)
At 02:29 AM 4/25/2007, Gary Kline wrote:
Guys,
This is an awk-type question. Hopefully a one-liner. If I
need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is),
that's okay...
I want to do an ls -l in a /home/kline/ and find and
edit fi
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Gary Kline wrote:
> Guys,
>
> This is an awk-type question. Hopefully a one-liner. If I
> need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is),
> that's okay...
>
> I want to do an ls -l in a /home/klin
Guys,
This is an awk-type question. Hopefully a one-liner. If I
need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is),
that's okay...
I want to do an ls -l in a /home/kline/ and find and
edit files that are dated (let's say) Apr 19 or Ma
15 matches
Mail list logo