RE: shell scripting: help appreciated

2006-07-04 Thread [EMAIL PROTECTED]@mgedv.net
-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

RE: shell scripting: help appreciated

2006-07-04 Thread [EMAIL PROTECTED]@mgedv.net
-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

shell scripting: help appreciated

2006-07-03 Thread [EMAIL PROTECTED]@mgedv.net
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

Re: shell scripting: help appreciated

2006-07-03 Thread Atom Powers
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

Re: shell scripting: help appreciated

2006-07-03 Thread Parv
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)

Re: shell scripting: help appreciated

2006-07-03 Thread Parv
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

Scripting help

2005-05-12 Thread Chris
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

Re: Scripting help

2005-05-12 Thread Philip Hallstrom
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?

Re: Scripting help

2005-05-12 Thread Roland Smith
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

Re: Scripting help

2005-05-12 Thread Alejandro Pulver
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

Re: Scripting help

2005-05-12 Thread Robert Huff
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.

Scripting help

2004-01-09 Thread Jack L. Stone
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

Re: Scripting help

2004-01-09 Thread Jason Stewart
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

Re: Scripting help

2004-01-09 Thread Matthew Seaman
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

Re: Scripting help

2004-01-09 Thread Marty Landman
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

Re: Scripting help

2004-01-09 Thread Chris Howells
-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.

Re: Scripting help

2004-01-09 Thread Chris Howells
-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.