Output optimization? (10)

1 Name: #!/usr/bin/anonymous : 2008-05-03 00:29 ID:jaDV4DuO

When I get output from anything, Linux commands for example, is using Perl regex/Bash&grep&sed the only solution to filter the specific result? That way is pretty dirty and the regex tweaking is inaccurate in most cases , so I was wondering if Perl had some optimized modules for that.

2 Name: #!/usr/bin/anonymous : 2008-05-04 08:03 ID:6Joh58l6

well, it's nasty because the traditional way in the unices is to keep everything in text so humans can read it and it can be piped around and stuff. it's better to have some real api with some concept of type safety. that's the idea in some of the object oriented shells. short answer, no, the going thing is for one program to excrete random text and for another one to guess what the first one meant. sad.

This thread has been closed. You cannot post in this thread any longer.