Ah, the old and outdated Unix method of chaining executables...
... instead of using an API with parameters and checking them....
C'mon guys, it's no longer 1970, you have plenty of RAM now, you can keep some more code in it today, it doesn't make you a great programmer blindly believing in outdated practices just because some dinosaur who is utterly afraid to learn anything new told you so.