unable to solve “syntax error near unexpected token `fi'” - hidden control characters (CR) / Unicode whitespace
问题 I am new to bash scripting and i'm just trying out new things and getting to grips with it. Basically I am writing a small script to store the content of a file in a variable and then use that variable in an if statement. Through step by step i have figured out the ways to store variables and then store content of files as variables. I am now working on if statements. My test if statement if very VERY basic. I just wanted to grasp the syntax before moving onto more complicated if statement