If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > need help creating a script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-04, 13:50
shehzad_manekia shehzad_manekia is offline
Registered User
 
Join Date: Feb 2004
Posts: 30
need help creating a script

i dont know scripts, so if some 1 can help me out

this is how the sequance is

me_lost.pl
me_dump.sh(seqnumber) i need the script to ask me for that number (seqnumber)

me_data.pl
me_detect.pl > (file name) i need the script to ask me here too

cd newdir

grep "cc" *.wks > (MARKET)_cc.xls


if some 1 can help me
Reply With Quote
  #2 (permalink)  
Old 10-06-04, 12:06
deebee deebee is offline
Registered User
 
Join Date: Jul 2004
Posts: 45
#!/usr/bin/ksh
perl me_lost.pl
echo "Enter the sequence no:"
read seqnumber
me_dump.sh $seqnumber

perl me_data.pl
echo "Enter the output file name :"
read filename
me_detect.pl > $filename
cd newdir
grep -q "cc" *.wks > MARKET_cc.xls


try
Reply With Quote
  #3 (permalink)  
Old 10-06-04, 12:08
deebee deebee is offline
Registered User
 
Join Date: Jul 2004
Posts: 45
sorry, give first line as #!/bin/sh
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On