> 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/