Reply to post: Re: re: don't bother trying to reinvent wheels that have been invented better elsewhere.

Quantum, Linux and Dynamics: That's the week at Microsoft, not a '70s prog rock band

bombastic bob Silver badge
Devil

Re: re: don't bother trying to reinvent wheels that have been invented better elsewhere.

"How is piping text between commands better than piping objects"

because there are a LOT of text-massaging POSIX utilities that are tried+true, well understood, and relatively easy to work with. I can, for example, use 'awk' 'cut' 'sed' or 'grep' to massage any reasonably-formatted text data, and the result of piped text data can also be assigned to a shell variable within something like bash, or in a language like Perl, where you can do even more with it programatically.

"An Object" is, unfortunately, too vaguely defined for such utilities to work with. Passing objects (rather than text-based data) would be denying yourself the ability to make use of the standard POSIX command line tools, the very things that have made the POSIX command line shells *SUPERIOR* to anything on DOS or windows for DECADES.

But if you want to do everything "the Micro-shaft way" instead of using POSIX tools, have at it.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon