![]() |
|
|
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 |
| Problem with echo for var, padded with spaces | videsh77 | Shell Programming and Scripting | 2 | 05-26-2005 04:27 PM |
| echo variable problem | sabina | Shell Programming and Scripting | 6 | 02-24-2005 03:15 PM |
| echo problem | abrd600 | Shell Programming and Scripting | 5 | 02-14-2005 06:24 PM |
| `echo` problem. | Cameron | UNIX for Dummies Questions & Answers | 1 | 12-29-2001 04:36 AM |
| counter / increment problem within echo stmt | blaze | UNIX for Dummies Questions & Answers | 2 | 02-08-2001 11:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
echo problem
echo "XXXXX" >> /xx/output.txt
cat /xx/file.txt| awk '{tony=tony+$1+$2; print tony/$3*100}' >> /xx/output.txt Dear all, In this situation i will have 2 lines in the output file. What i want is to have only one output line. e.g: XXXXX "value" HOW to put the output of the "cat and awk" in the same line after the echo anyone can help me.... Many thanks; TONTAL |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|