7

cli interpreter jquery/php

view full story
linux-howto

https://bbs.archlinux.org – Hi I'm looking for a way to parse out a string into a first word and switches exactly the way bash handles.  For jquery/phpLike this.command -a -b -c leftovertext | command -abc leftovertextI've looked at a javascript parser (optparse), but it's pretty outdated and I'm having trouble using a regular expression with match and each in jquery;Or if I should try doing this in php.Any comments welcome.Thanks. ackt1c https://bbs.archlinux.org/profile.php?id=64493 2013-01-12T01:30:55Z (HowTos)