-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Atom Powers
Sent: Monday, July 03, 2006 5:40 PM
Cc: freebsd-questions@freebsd.org
Subject: Re: shell scripting: help appreciated
On 7/3/06, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Parv
Sent: Monday, July 03, 2006 7:50 PM
To: [EMAIL PROTECTED]@mgedv.net
Cc: freebsd-questions@freebsd.org
Subject: Re: shell scripting: help appreciated
in message [EMAIL PROTECTED],
wrote [EMAIL
short and weird problem description (from my point of view):
/bin/sh stops working correctly with a content-controlled do-loop.
the shell-script layout is as follows:
(it's not that trivial, just to show the meaning)
---
/test/foo.conf
On 7/3/06, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote:
if i change the line
/bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1;
to
echo /bin/sh -c subprogram.sh $h_val1 $h_val2 $h_opt1;
the program loops for all records in the foo.conf correctly.
if i remove the echo
in message [EMAIL PROTECTED],
wrote [EMAIL PROTECTED]@mgedv.net thusly...
/bin/sh stops working correctly with a content-controlled do-loop.
the shell-script layout is as follows:
(it's not that trivial, just to show the meaning)
in message [EMAIL PROTECTED],
wrote Parv thusly...
in message [EMAIL PROTECTED],
wrote [EMAIL PROTECTED]@mgedv.net thusly...
By the way [EMAIL PROTECTED]@mgedv.net do something about ...
Reporting-MTA: dns; mta9.adelphia.net
Arrival-Date: Mon, 3 Jul 2006 13:49:48 -0400
I would like some advice on how to script something that will search
directories below a named root for all files ending with a certain file
extension.
Then, mv or cp them to another location.
--
Best regards,
Chris
The first 90 percent of the task takes 90 percent of the
time, the last 10
install the 'mmv' port.
From the description...
This is mmv, a program to move/copy/append/link multiple files
according to a set of wildcard patterns. The wildcard matches
can be reused in forming the target names. You can i.e. move
all *.c.or? files to or?.new.*.c by saying 'mmv *.c.or?
On Thu, May 12, 2005 at 11:44:49AM -0500, Chris wrote:
I would like some advice on how to script something that will search
directories below a named root for all files ending with a certain file
extension.
Finding files is done (unsurprisingly) with find. E.g. to find all .c
files under the
On Thu, 12 May 2005 11:44:49 -0500
Chris [EMAIL PROTECTED] wrote:
I would like some advice on how to script something that will search
directories below a named root for all files ending with a certain
file extension.
Then, mv or cp them to another location.
--
Best regards,
Chris
Roland Smith writes:
Finding files is done (unsurprisingly) with find. E.g. to find all .c
files under the current directory do:
find . -name *.c
I believe
find . -name *.c
is prefered, so the wildcard doesn't get mangled by the shell.
Dear list:
I hope think this is not off-topic, and is just about running a script in
FBSD to delete specific lines in a flat file based on info in another flat
file.
My scripting skills are very limited and need help on how to purge my mail
lists. We maintain several majordomo mail lists on a
On 09/01/04 09:19 -0600, Jack L. Stone wrote:
Dear list:
I hope think this is not off-topic, and is just about running a script in
FBSD to delete specific lines in a flat file based on info in another flat
file.
My scripting skills are very limited and need help on how to purge my mail
On Fri, Jan 09, 2004 at 09:19:37AM -0600, Jack L. Stone wrote:
Dear list:
I hope think this is not off-topic, and is just about running a script in
FBSD to delete specific lines in a flat file based on info in another flat
file.
My scripting skills are very limited and need help on how to
At 10:19 AM 1/9/2004, Jack L. Stone wrote:
My scripting skills are very limited and need help on how to purge my mail
lists. We maintain several majordomo mail lists on a Tech magazine site
(www.antennex.com) with 60,000 readers. Needless to say, it is real tedious
to try and keep the lists up to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 09 January 2004 15:19, Jack L. Stone wrote:
My scripting skills are very limited and need help on how to purge my mail
lists. We maintain several majordomo mail lists on a Tech magazine site
(www.antennex.com) with 60,000 readers.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 09 January 2004 15:19, Jack L. Stone wrote:
My scripting skills are very limited and need help on how to purge my mail
lists. We maintain several majordomo mail lists on a Tech magazine site
(www.antennex.com) with 60,000 readers.
17 matches
Mail list logo