hi all,
i've got a script that takes in what a user enters (multiple entries) and then joins them all together and appends this to a file. what i want to happen now is the terminal should display "record saved" if the save to the file is successful, if it isn't just display the standard unix error message.
also in another script i am checking to see if some files actually exist that are needed in that script. i am using find to see if these files are there or not. it works fine, but say if the file i am looking for is not there and it's the third file that has been searched for, then the names of the two files that have already been found are printed out before the error message. is there a way to just pront out the error message?
cheers, waz.