The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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 Urgent SanjayLinux Shell Programming and Scripting 4 10-29-2007 02:41 AM
Help me for AWK URGENT readycpbala Shell Programming and Scripting 2 02-22-2007 01:03 PM
URGENT,URGENT- Need help tape drive installation sriny UNIX for Advanced & Expert Users 3 11-16-2006 03:43 PM
URGENT---URGENT--No OK PROMPt after RSC CONFIG sriny SUN Solaris 7 10-29-2006 11:06 AM
Urgent !! desiondarun UNIX for Dummies Questions & Answers 1 08-08-2006 08:49 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-29-2008
alokmits alokmits is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 4
Exclamation Urgent help

I have wrote a simple shell script

BEGIN {
jobid = "test jobid"
printf(jobid)
printf("-----------------------------------")
# system("echo jobid")
system( "echo `echo $jobid`")
print "first print"

system ("echo echo system echo")
# system("sh /tmp/test aa abc aa1.rptx")
print "second print"
}

I want to display the value of jobid in system command but it is not displaying the value..Please advise me what to do its urgent????

thanx in advance
  #2 (permalink)  
Old 01-29-2008
alokmits alokmits is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 4
No replyyyyyy
  #3 (permalink)  
Old 01-30-2008
Karthikeyan_113 Karthikeyan_113 is offline
Registered User
  
 

Join Date: Jan 2007
Location: Boston, USA
Posts: 16
Question Do you still need the help ?

Have you resolved the issue... or still u need the help ?
  #4 (permalink)  
Old 01-30-2008
ennstate ennstate is offline
Registered User
  
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
But i guess this post is similar to that of your earlier one,
awk parameter

Thanks
Nagarajan G
  #5 (permalink)  
Old 01-30-2008
KevinADC KevinADC is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2008
Posts: 731
hint: threads with the subject "Urgent help" tend to get ignored. The urgency is only too you, you should not expect anyone here to provide you with urgent support. This also makes no sense:

Quote:
I want to display the value of jobid in system command but it is not displaying the value.
Display what? Where? the system() command runs an external application, it does not return anything back to the calling program except the exit status of the application.
  #6 (permalink)  
Old 01-30-2008
radoulov's Avatar
radoulov radoulov is offline Forum Staff  
addict
  
 

Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,860
Already answered on c.l.a.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0