Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: awk paramet...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 2144 of 2317
Post > Topic >>

Re: awk parameters

by Ed Morton <morton@[EMAIL PROTECTED] > Jan 29, 2008 at 07:09 AM

On 1/29/2008 3:27 AM, alokmits@[EMAIL PROTECTED]
 wrote:
> 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

BEGIN {
jobid = "test jobid"
system("echo " jobid)
}

	Ed.
 




 2 Posts in Topic:
awk parameters
alokmits@[EMAIL PROTECTED  2008-01-29 01:27:22 
Re: awk parameters
Ed Morton <morton@[EMA  2008-01-29 07:09:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:22:22 CDT 2008.