Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bpmee

  1. bpmee

    Help with a "for each" loop needed for Newbie script

    Thanks KevinADC! I worked your script suggestions and was finally able to get a functioning product! :)
  2. bpmee

    Help with a "for each" loop needed for Newbie script

    Hi Kevin, Thanks for your reply... Here's the deal - I'll explain it below for mysake so as to be sure of what I am doing: 1.)Before the @contents items are collected, I run a script that breaks a large file down into smaller pieces. For example, a keyword list with 10,000 lines might be...
  3. bpmee

    Help with a "for each" loop needed for Newbie script

    Hi Kevin, PaulTeg, Thanks for these tips! I was able to recreate the changes you both recommended on my own system. Here's the catch: On the CRON output, I need the bmaaa, bmaab, bmaac, bmaad etc $listitem to appear once at each 5 minute interval. I've experimented with moving the { or }...
  4. bpmee

    Help with a "for each" loop needed for Newbie script

    Hi PaulTeg, Thanks for your reply! I still need some help regarding the "foreach" loops I am using. As you can tell by the code, I am attempting to run the first foreach loop for $listitem, and the second foreach loop for $a. $a represents increments of 5 minutes each, so, when $a = 60, the...
  5. bpmee

    Help with a "for each" loop needed for Newbie script

    Hi, First off, thanks in advance to anyone who can offer some advice on the following script... Basically, in the script below, I am printing text output to a file that I intend to use as a crontab. As you can see, starting from the first "foreach" loop, I am running a set of Perl commands...

Part and Inventory Search

Back
Top