On 03/29/10 12:34 PM, Steve Mckinty wrote: > Sebastien Roy wrote: >> Taking a step back here, this subcommand is not the only zfs >> subcommand whose output could be subject to parsing by scripts. Adding >> parsable output should be something that is thought-through for the >> entire suite of subcommands (and zfs-related commands) so that there >> is a uniformly applicable solution. IMO, that's not this case >> (although that's ultimately the project team's decision). If you think >> there is something that is ambiguous to the human eye, then I think >> that's in scope. > > It's not uncommon to have an additional option to a command (stty -g for > example) which produces easily-parsable (and not necessarily easily > readable :) ) output for this situation.
That's right, but to reiterate, I think that such an option should theoretically apply to more then just the "diff" subcommand. -Seb