Guest_imported
New member
- Jan 1, 1970
- 0
Hello!
How can I represent error messages in unix inside my script. For example I want to concatenate 2 files: file1 and file2. I asked the user to input the 2 files to be concatenated. If the user inputs a non existant file, an error message: cannot find file will occurr.... I want to be able to detect this error message because I want to ask the user again to re enter the filename....
-Jared
How can I represent error messages in unix inside my script. For example I want to concatenate 2 files: file1 and file2. I asked the user to input the 2 files to be concatenated. If the user inputs a non existant file, an error message: cannot find file will occurr.... I want to be able to detect this error message because I want to ask the user again to re enter the filename....
-Jared