![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display multiple output lines | kingofprussia | UNIX for Dummies Questions & Answers | 5 | 05-23-2007 09:56 AM |
| How to Display a range of values in the output of cat | venu_nbk | UNIX for Dummies Questions & Answers | 8 | 05-13-2007 02:13 AM |
| Need to display sorted output on 1 line! | knc9233 | UNIX for Dummies Questions & Answers | 2 | 01-17-2007 10:26 PM |
| To display 1 or 2 space bar output | missutoomuch | Shell Programming and Scripting | 2 | 02-11-2006 04:25 PM |
| output display alignment !! | rosh0623 | Shell Programming and Scripting | 7 | 07-21-2005 07:51 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
display and output...question
Hi, I have a small question about the value cannot display correctly:
MSG=log fruit=apple print "No $fruit in the store" > "$MSG/fruit_message.txt" output: No $fruit in the store should be: No apple in the store AND $MSG/fruit_message.txt ----------> cannot find the fruit_message.txt in log directory For the output, the message can be BOLD or HIGHTLIGHT or special output like this? Also, While I run the script to remove file, the following output will be display..it look not very good output. Can the error message not showing on the screen? Also can it write into the log file? /bin/rm $MSG/temp_fruit1.txt /bin/rm $MSG/temp_fruit2.txt /bin/rm $MSG/fruit_missing.txt /bin/rm $MSG/fruit_nomissing.txt /bin/rm $MSG/fruit_result.txt /bin/rm $MSG/fruit_output_m1.txt /bin/rm $MSG/fruit_output_m2.txt output: /log/temp_fruit1.txt: No such file or directory /log/temp_fruit2.txt: No such file or directory /log/fruit_missing.txt: No such file or directory /log/fruit_nomissing.txt: No such file or directory /log/fruit_result.txt: No such file or directory /log/fruit_output_m1.txt: No such file or directory /log/fruit_output_m2.txt: No such file or directory |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|