JustBash.Parser.Redirection (JustBash v0.4.0)
View SourceParser for shell redirections.
Handles parsing of all redirection operators:
- Input:
<,<<,<<<,<& - Output:
>,>>,>&,>| - Combined:
&>,&>> - Heredocs:
<<,<<-
Summary
Functions
Parse a single redirection.
Parse all redirections at the current position.
Check if the current token starts a redirection.