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

From: George Bonser (grep@shorelink.com)
Date: Tue Apr 11 2000 - 04:07:11 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:15 EST