I have a bash variable ($HTTP_COOKIE) which contains a string. I want to check if this string matches the content of a given file (token). I'm working on a busybox linux.
How should I do?
|
keep the x in front in case the string may start with a minus sign (in that case it would be considered as an option to the command test ( |
|||