Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 20:22:38 -0600
From:      Zach Thompson <cublai@lastamericanempire.com>
To:        Taylor Dondich <thexder@lvcm.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: More of a scripting question I guess.
Message-ID:  <20020417202238.A35897@lastamericanempire.com>

next in thread | raw e-mail | index | archive | help
* Taylor Dondich <thexder@lvcm.com> [020417 20:03]::
 > I've got a list of e-mail addresses in a text file.  I'd like to
 > process a command on EACH of those addresses with a program on my BSD
 > box.  I don't know a lick or two or shell programming (I'd think you
 > can get it done with this).

 perl -nle '`some_command`' email.txt

 Depending on the command(s), there may be a Perl builtin instead of
 backticking.

 Zach Thompson

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020417202238.A35897>