Differences between version 5 and previous revision of HereStrings.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Saturday, December 9, 2006 11:23:07 pm | by BenStaz | Revert |
Older page: | version 4 | Last edited on Saturday, December 9, 2006 11:20:40 pm | by BenStaz | Revert |
@@ -2,9 +2,9 @@
A variant of here documents, 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.
+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!
I find Here String's very useful to easily assign values to multiple variables.
For Example: