Okay, my script is basically on the first page.
Now, if I make another .html file and type into the terminal to run my script like this:
Quote:
kevin@ubuntu:~/Documents/Practice$: ./test
The output is:
Quote:
kevin@ubuntu:~/Documents/Practice$: ./test
file does not exists
kevin@ubuntu:~/Documents/Practice$: ./test
Basically my .html are being created but the message
file does not exists is displayed. Although if I run ./test -h, it displays
echo help
as expected.
Its only displaying
file does not exists if i run the file as ./test without passing any argument.
Also since I dont pass the searchphrase, message shouldn't be displayed!