Guest_imported
New member
- Jan 1, 1970
- 0
i need to know how to in unix c shell
to printf to a file a list of variables in the form of
variable1:variable2:variable3:::
etc.
i've tried:
printf "$variable1:$variable2:$variable3:::" >> .filename
but that doesnt work, and i tried to revise many different ways and that doesnt work.
also i need to know how to search for a string in that file and just return to me the value of yes if they found a march or no no match was found.
thanks,
jada
to printf to a file a list of variables in the form of
variable1:variable2:variable3:::
etc.
i've tried:
printf "$variable1:$variable2:$variable3:::" >> .filename
but that doesnt work, and i tried to revise many different ways and that doesnt work.
also i need to know how to search for a string in that file and just return to me the value of yes if they found a march or no no match was found.
thanks,
jada