Linux-kernel mailing list archive 2000-15,: Re: Suggested dual human/binary interface for proc/devfs

# Re: Suggested dual human/binary interface for proc/devfs

George Bonser (grep@shorelink.com)
Tue, 11 Apr 2000 02:07:11 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Stephen C. Tweedie: "Re: zap_page_range(): TLB flush race"
- Previous message: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- In reply to: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- Next in thread: George Bonser: "Re: Suggested dual human/binary interface for proc/devfs"

On Tue, 11 Apr 2000, Ed Carp wrote:

> That sort of code is horrible to implement in a shell script. Where do you have it implemented in one?

The file is not designed to be parsed by a shell script. It is designed
to:

1. Be parsed by an interpreter than can output in a form that can be
parsed by many different kinds of programs

2. still be readable by a human

Your proposed format would be more difficult to translate to a program
that expected XML input.

The format I proposed could easily be translated to the format you need
for processing by a shell script.

pd --shell <filename> could produce output in the format you desire.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Stephen C. Tweedie: "Re: zap_page_range(): TLB flush race"
- Previous message: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- In reply to: Ed Carp: "Re: Suggested dual human/binary interface for proc/devfs"
- Next in thread: George Bonser: "Re: Suggested dual human/binary interface for proc/devfs"