![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help to seperate data | getdpg | Shell Programming and Scripting | 4 | 08-30-2006 06:28 AM |
| extract from string variable into new variables | Sniper Pixie | UNIX for Dummies Questions & Answers | 2 | 03-03-2006 10:49 AM |
| Cut a Variable into sub variables based on a delimiter | jingi1234 | UNIX for Dummies Questions & Answers | 6 | 05-06-2005 11:41 AM |
| /usr/lib on a seperate partition | progressdll | UNIX for Advanced & Expert Users | 4 | 12-21-2004 09:59 AM |
| row seperate | inquirer | Shell Programming and Scripting | 13 | 08-12-2003 06:26 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
thanks alot for your quick response, but it is including ^M at the end and also entering a blank line.
plz have a look for myvar1 in $(awk -F, '{print $1,$5}' $Filename $filen|tr "a-z" "A-Z" ) do echo "$myvar1" | read var2 var3 sqlplus -s test/test@test @gur.sql $DefaultProduct $var2 $var3 done >>getdata.tmp in above example, i have to give 3 parameters to gur.sql, i am reading a variable myvar1 from a file, this variable contains 2 values of $1,$5. now i am using your command but its not working. plz if possible then answer it ASAP. thanks alot |
|
||||
|
Thanks alot brothers,
i have done with your help. Regards, Intikhab Alam Certified ISMS 27001 Lead Auditor (Information Security Management System) Certified ISO 9000:2000 Lead Auditor Brainbench SCM, SQA, Testing & SEI CMMI Certified CMA-CGM SYSTeMS (A Joint Venture of CMA-CGM and IBM) |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|