![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| inline redirect stdin | ct2marer | Shell Programming and Scripting | 5 | 09-09-2008 09:50 AM |
| Redirect stdin and out to sockets | gyula | High Level Programming | 1 | 09-02-2008 10:30 AM |
| Array Printing Inline | vakharia Mahesh | Shell Programming and Scripting | 2 | 05-21-2008 12:53 PM |
| redirect STDIN | prkfriryce | Shell Programming and Scripting | 4 | 01-04-2007 10:11 AM |
| stdin not tty when try to pine or redirect | Micz | UNIX for Dummies Questions & Answers | 1 | 05-20-2004 02:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
inline redirect stdin
Hi:
I have the next script on ksh #!/usr/bin/ksh cd $FUENTES qdesign <<-! \$/opt/cognos/ph843e/bin/qtp <<-! \$/opt/cognos/ph843e/bin/quiz <<-! ! ! ! This script is very simple, i want to nest three process quiz into qtp, and this into qdesign. When I run it , i receive the next error. ./aa[7]: !: not found ./aa[8]: !: not found Why ?¿?¿ can i nest inline commads with input redir. Regards |
|
||||
|
I don't think you can, especially not with the same delimiter for them all. Perl has support for combining here documents but you still can't nest them there, only serialize.
Code:
perl -e 'print <<HERE; print <<THERE; print <<EVERYWHERE; I am the walrus HERE The walrus was Paul THERE Happiness is a warm gun EVERYWHERE print "done.\n"' What do you mean by nesting these, and how do you expect to achieve three of the "quiz" processes? Do you mean a pipeline, by any chance? Code:
quiz | qtp | qdesign Last edited by era; 09-09-2008 at 02:04 PM.. Reason: Pipeline speculation |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|