Differences between version 9 and previous revision of HereStrings.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 9 | Last edited on Monday, December 11, 2006 2:07:51 am | by BenStaz | Revert |
Older page: | version 8 | Last edited on Monday, December 11, 2006 1:57:45 am | by BenStaz | Revert |
@@ -16,8 +16,8 @@
and hopefully the value of the three variables will be displayed for you.
!Read from a variable
-Make sure the variable is surrounded by double quotes!
+Make sure the variable is surrounded by *
double*
quotes!
*string="this:is:a:string"; IFS=: ; read foo bar moo cow <<< "$string"
*echo $foo $bar $moo $cow