View Single Post

  #3 (permalink)  
Old 04-17-2006, 06:54 AM
sparky sparky is offline
Member
User
 
Join Date: Mar 2006
Posts: 35
Rep Power: 0
sparky
Default

Thanks for the reply but still can t get it working tried for hours now
i think the problem is i need it to work for both options
ie the file may say
URL=http://www.whatever.com
or it may just be blank
URL=

Also while i am here i need to find out where a program exists
so i found the find command works well but i need to turn it into a var
whats the best way to remove the . at the begining
Code:
[sparky@localhost ~]$ find -name test
./MyScripts/test
Any ways i am really loving linux scripting have more pleasure out of this than any thing else ive done on my pc
even ordered some books
Reply With Quote