Using less to view output

Robert T. Repko (R Squared Consultants) rtr at rsquared.com
Mon May 16 06:49:59 PDT 2005


Believe it or not at 5/15/2005 10:28 AM, Marc Brumlik said:
>Bob Stockler wrote:
>
>>Robert T. Repko (R Squared Consultants) wrote (on Sat, May 14, 2005 at 
>>11:14:05PM -0400):
>>
>>| Believe it or not at 5/14/2005 12:36 PM, Bob Stockler said:
>>| >
>>| >Wouldn't:
>>| >
>>| >  printer27=ViaFile,nocodes,| less,View report
>>| >
>>| >work, and be simpler?
>>| | That was the first thing I tried, it's defined earlier in the config 
>>| file.  That does not work either, less never displays the data.
>>
>>It works for me and works for Radley and maybe some others?
>>Anyone else?
>>
>>Bob
>>
>>
>As a test, write it to a file first.          >/tmp/$$; less 
>/tmp/$$      [and maybe  ; rm /tmp/$$]

If I remove the 'rm /tmp/fpfile$$' from the command the file does exist in 
/tmp and I can less the file from the command line.  When I leave the 'rm 
/tmp/fpfile$$' in place the file no longer exists in /tmp which leads me to 
believe the file is deleted by the rm command.  Since rm is executed less 
must be executed, which is why I am scratching my head wondering why less 
is not displaying the file.
*******************************************************************************
* Robert T. Repko - R Squared Consultants       |   Voice: (610) 253-2849     *
* Serving the Computing World for 20+ years     |     Fax: (610) 253-0725     *
* Windows/Unix/Mac Networking, Cisco, Sonicwall |   email: rtr at 
rsquared.com*
* NJDOE Provider ID#: 763 | SPIN: 143010681     | Address: 4 Juniper Ave.     *
* New Jersey SCC Pre-Authorized                 |          Easton, PA 18045   *
*******************************************************************************


More information about the Filepro-list mailing list