Skip to main content
6 votes

What is it that makes parsing shell so hard?

Disclaimer: I haven't implemented a shell, but I am working on some shell parsing. The problem is that shell is a string that has to parse to lists of strings. Why is it a string? Because users type a ...
Gavin D. Howard's user avatar
3 votes

What is it that makes parsing shell so hard?

The answer by @gavin-d-howard gives a good list of some of the problems. I just want to add some points: There are many different shells. Not all of them are equally hard to parse. Do you mean bash, ...
Bruce Adams's user avatar
  • 3,002
2 votes
Accepted

ASCII-only regex in POSIX shell langauge ... suite

I think this question is conflating two separate issues: does an implementation of POSIX regular expressions need to support non-ASCII text, and does it need to support collating/equivalence/character ...
Michael Homer's user avatar
  • 15.3k

Only top scored, non community-wiki answers of a minimum length are eligible