View Single Post
Old 07-01-2012, 09:59 AM   #42
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by silver18 View Post
Yep, it stores the matching line in $check and leaves $check empty if nothing is found.
It's just a way of checking it $image contains a space...
Once you have that line (with spaces) captured in $check ...

You will have to change the IFS (Input Field Separator) to do anything with the stored contents (or to even pass the $check as a function argument or use it in an assignment statement).
Since the "space" character is one of the default input field separators.
knc1 is offline   Reply With Quote