Search Results

Search: Posts Made By: jussist
10,216
Posted By jussist
Cygwin and simple script with if
I am having an issue with using cygwin (on Windows XP). My script errors on if -command. The script here works fine on Linux, but cygwin fails...

#!/bin/sh
if [ "$1" == "test" ] then
echo...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy