View Single Post
Old 07-01-2012, 10:59 AM   #42
knc1
Helpdesk Junkie
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: 6,823
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
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