![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| echo problem | tontal | Shell Programming and Scripting | 1 | 11-16-2006 03:36 AM |
| Problem with echo for var, padded with spaces | videsh77 | Shell Programming and Scripting | 2 | 05-26-2005 12:27 PM |
| echo variable problem | sabina | Shell Programming and Scripting | 6 | 02-24-2005 12:15 PM |
| echo problem | abrd600 | Shell Programming and Scripting | 5 | 02-14-2005 03:24 PM |
| counter / increment problem within echo stmt | blaze | UNIX for Dummies Questions & Answers | 2 | 02-08-2001 08:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Have the following lines in a script:
Code:
echo "-----------------------------------------------"\
"---------------------" >> $xdfrpt
echo "- Date - - / - /stand - /u - /u1 - /u2 -"\
"/x1 - /x2 - /x3 -" >> $xdfrpt
echo "-----------------------------------------------"\
"---------------------" >> $xdfrpt
Code:
----------------------------------------------- --------------------- - Date - - / - /stand - /u - /u1 - /u2 - /x1 - /x2 - /x3 - ----------------------------------------------- --------------------- |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Solved with the following:
Code:
echo "-----------------------------------------------\c" >> $xdfrpt
echo "---------------------" >> $xdfrpt
echo "- Date - - / - /stand - /u - /u1 - /u2 -"\
"/x1 - /x2 - /x3" >> $xdfrpt
echo "-----------------------------------------------\c" >> $xdfrpt
echo "---------------------" >> $xdfrpt
|
||||
| Google The UNIX and Linux Forums |