The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 02-10-2009
sh_help sh_help is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 4
Quote:
Originally Posted by sh_help View Post
I still get this error.

I the directory i have s.txt and st.txt
both f1 and f2 should have the same value. It seems like comparison failed.

$ ./st.txt
s.txt st.txt
s.txt st.txt
./st.txt: line 6: [s.txt st.txt: command not found

Thanks quirkasaurus
I'm all set.
I wasn't using spaces before and after variable and "=" sing in the comparison.
Thanks agian.