Differences between version 7 and predecessor to the previous major change of HereStrings.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Sunday, December 10, 2006 9:45:48 am | by BenStaz | Revert |
Older page: | version 6 | Last edited on Sunday, December 10, 2006 8:24:21 am | by GreigMcGill | Revert |
@@ -1,6 +1,6 @@
!Here Strings
-A variant of here documents,
the format is:
+A variant of [Here Documents|HereDocuments]
the format is:
*command <<< "string"
A here string uses a form of I/O redirection to feed a command to an *interactive* program or a command, such as ftp, cat, ex or read. This can be extremely handy. So basically those apps you run that allow user input can be automatically fed strings rather than you typing them!