Search Results

Search: Posts Made By: Speedy
3,305
Posted By Speedy
Del: line 13: syntax error: unexpected end of file
1 echo -e "Enter a filename"
2 read filename
3 if [$filename = myfirst]
4 then
5 echo -e "do you want to delete?"
6 read answer
7 if [answer= Y]
8 then rm myfirst
9 else...
1,352
Posted By Speedy
Syntax error
I keep recieveing this error message: del: line 13: syntax error: unexpected end of file

This is my script:
1 echo -e "Enter a filename"
2 read filename
3 if [$filename = myfirst]
4 then...
Showing results 1 to 2 of 2

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