Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1738

Re: calling script function on output of find

From John Stumbles <john.stumbles@ntlworld.com>
Newsgroups comp.os.linux.misc
Subject Re: calling script function on output of find
Date 2011-07-10 23:14 +0000
Message-ID <97uq26Fr24U1@mid.individual.net> (permalink)
References (1 earlier) <mr7ge8xnbe.ln2@news.roaima.co.uk> <97o2suFrvqU1@mid.individual.net> <uflje8xed5.ln2@news.roaima.co.uk> <97r16hFb0uU4@mid.individual.net> <0v8oe8xcrt.ln2@news.roaima.co.uk>

Show all headers | View raw


On Sun, 10 Jul 2011 10:45:36 +0100, Chris Davies wrote:

> But yes, perl (or ruby, or python, or any other decent programming
> language) could be an alternative. The trade off is convenience vs
> perfection vs speed of solution. If I'm writing a one-liner I tend to
> write quick and dirty. As soon as I realise it's got more general
> possibilities I expand it out into a script and (try to) clean up the
> rough edges. Or at least ensure it fails cleanly on just cases.

I stopped doing things like this in Perl a few years back and forced 
myself to learn to do them in shell, just for the educational variety. 
Now I'm so rusty I don't know if I *could* do it in Perl :-(


-- 
John Stumbles

militant pacifist

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-05 10:01 +0000
  Re: calling script function on output of find Joe Makowiec <makowiec@invalid.invalid> - 2011-07-05 10:20 +0000
    Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-09 12:04 +0000
  Re: calling script function on output of find dave.gma+news002@googlemail.com.invalid (Dave Gibson) - 2011-07-05 19:17 +0100
    Re: calling script function on output of find unruh <unruh@wormhole.physics.ubc.ca> - 2011-07-05 20:01 +0000
      Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-09 12:21 +0000
        Re: calling script function on output of find Bill Marcum <bill@lat.localnet> - 2011-07-12 19:43 -0400
          Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-16 00:26 +0000
    Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-09 12:48 +0000
      Re: calling script function on output of find dave.gma+news002@googlemail.com.invalid (Dave Gibson) - 2011-07-09 19:52 +0100
  Re: calling script function on output of find Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-07 09:37 +0100
    Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-08 10:02 +0000
      Re: calling script function on output of find Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-08 16:48 +0100
        Re: calling script function on output of find unruh <unruh@wormhole.physics.ubc.ca> - 2011-07-08 17:46 +0000
          Re: calling script function on output of find Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-08 20:56 +0100
            Re: calling script function on output of find unruh <unruh@wormhole.physics.ubc.ca> - 2011-07-08 21:14 +0000
              Re: calling script function on output of find Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-09 11:17 +0100
        Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-09 12:51 +0000
          Re: calling script function on output of find Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-10 10:45 +0100
            Re: calling script function on output of find John Stumbles <john.stumbles@ntlworld.com> - 2011-07-10 23:14 +0000

csiph-web