![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modifying a variable value | kartikkumar84@g | UNIX for Dummies Questions & Answers | 6 | 05-22-2008 11:19 PM |
| can someone help me with modifying this file | eamani_sun | Shell Programming and Scripting | 2 | 05-22-2008 10:15 AM |
| Need help in modifying the prompt | mahatma | Shell Programming and Scripting | 7 | 08-02-2006 12:45 AM |
| modifying my shell | nico-hellas | Shell Programming and Scripting | 1 | 08-05-2005 06:43 AM |
| Modifying Route | hoang | IP Networking | 1 | 06-25-2002 04:55 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
modifying the writing of a log...
Hi ,
i would submit the following way of writing into a log : i'm using Lotus Notes under AIX and a lotus system script is writing the all notes log this way : 11/04/2005 15:34:36 Router: Message 00496E70 transferred to XHUB003A/SRV/EDFGDF/FR for xxx@yyyyyy.com via Notes 11/04/2005 15:34:36 Pushing mail/mail-06/ddddd.nsf to TCP-A MSG302B/SRV/EDFGDF/FR mail\mail-06\dddd.nsf 11/04/2005 1 and so on i dont why the writing is done on 2 and sometimes 3 lines , we have a carriage return about 50 characters. I would have each line beginning with the date (french format). 1 Is it a Unix environment problem or terminal reason ? 2 If not is there a simple way to do this ? thanks in advance Christian |
| Forum Sponsor | ||
|
|
|
|||
|
Well , i think this is the only lotus script that writes this way.
Concerning the shell , it is ksh and i have many of scripts which write in logs without any problems. the command is : ${LOTUSDIR}/bin/server < ${COMMANDES} > ${CONSOLE} 2>&1 & where "server" is running Lotus Notes server , COMMANDES : we can enter commands in console mode and the all output is written in CONSOLE , the one with the strange format ! Christian |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|