LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2012, 07:55 AM   #1
KaRt
LQ Newbie
 
Registered: Jul 2012
Location: india
Posts: 28

Rep: Reputation: Disabled
Wink Argument passing


hi
i write a script like

cat >> "/tmp/zdesk" <<EOF
\n
A
\n
N
EOF
sudo ./install.pl < /tmp/zdesk
rm -rf /tmp/zdesk

its worked but i want to know how its worked.i ll pass the argument from temporary file to my target file . now my target file how to understand this argument comes from the temporary file for first condition,second goes next and so on...

Last edited by KaRt; 07-27-2012 at 08:07 AM.
 
Old 07-27-2012, 08:09 AM   #2
KaRt
LQ Newbie
 
Registered: Jul 2012
Location: india
Posts: 28

Original Poster
Rep: Reputation: Disabled
how to identifi the arugument passing from temporary file to target file

hi
i write a script like

cat >> "/tmp/zdesk" <<EOF
\n
A
\n
N
EOF
sudo ./install.pl < /tmp/zdesk
rm -rf /tmp/zdesk

its worked but i want to know how its worked.i ll pass the argument from temporary file to my target file . now my target file how to understand this argument comes from the temporary file for first condition,second goes next and so on...[/QUOTE]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Makefile - passing argument to make? gayleard Linux - Software 1 03-06-2010 07:14 PM
[SOLVED] (Something like...) passing an argument to a MATLAB script Mike_V Programming 1 12-21-2009 05:04 PM
Passing an argument to a kommander dialog almatic Programming 1 04-12-2007 10:43 AM
simple argument passing tostay2003 Linux - Software 7 09-13-2006 05:11 PM
passing function pointer as argument worldmagic Programming 7 08-04-2004 04:33 PM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration