![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'exec /bin/sh' breaks alias | stulincoln | Shell Programming and Scripting | 1 | 05-29-2008 01:00 PM |
| Help on page breaks | simhasuri | Shell Programming and Scripting | 1 | 01-31-2008 04:51 PM |
| Newbie ? Need Help with If/Then & Line Breaks... | kthatch | UNIX for Dummies Questions & Answers | 1 | 05-01-2007 08:44 PM |
| How to remove page breaks from a flat file??? | kumarsaravana_s | Shell Programming and Scripting | 5 | 04-17-2007 09:51 AM |
| Insert page breaks into .csv file | welsht | Shell Programming and Scripting | 2 | 02-04-2005 02:39 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Page Breaks
Hi,
I have a program in Pro*c when I run it I have no problem with the output but when it runs via the at command and except the output has page breaks every 66 lines. I don't want those page breaks to be in the output. any idea? |
|
||||
|
at -f $HOME/submit_test.shl now
submit_test.shl /usr/bin/expect $HOME/test_ex.shl > $HOME/submit_test.log test_ex.shl spawn /app/test.shl test.shl $EXE_HOME/test -f -o $OUTPUT/test.lis the last command will run the test.pc program and the output (test.lis) will have this extra page breaks if I run it directly from my folder there's no extra page breaks Thanks |
|
||||
|
Does test.pc write to stdout? ie., does it dup2 stdout and redirect it to the -o argument? If so:
Some default tty settings insert page breaks. Check the LINES environment variable inside test.shl, also insert a stty command in test.shl. You may need to alter your environment settings in test.shl or stop duping stdout. If you are calling fopen("filename", "w"); I have NO idea what could cause the problem. |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|