Hello Bdale,

why not change zless to use this command:

exec zcat -f "$@" | less

It works both with gz files and plain text files.
And it works both with command line parameters and stdin.
Which is exactly what we want.

Thomas

> --- Ursprüngliche Nachricht ---
> Von: [EMAIL PROTECTED] (Debian Bug Tracking System)
> An: Bdale Garbee <[EMAIL PROTECTED]>
> Kopie: Thomas Schoepf <[EMAIL PROTECTED]> (less #248302)
> Betreff: Processed: LESSOPEN use of %s fails if file piped on stdin
> Datum: Mon, 11 Jul 2005 13:03:14 -0700
> 
> Processing commands for [EMAIL PROTECTED]:
> 
> > reassign 248302 less
> Bug#248302: zless does not gunzip data coming from STDIN
> Bug reassigned from package `gzip' to `less'.
> 
> > thanks
> Stopping processing here.
> 
> Please contact me if you need assistance.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to