Closed gfantonib closed 6 months ago
Break the input into words and operators, obeying the quoting rules described in "quoting". These tokens are separated by metacharacters. Alias expansion is performed by this step.
Parses the tokens into simple and compound commands.
syntax analisys
Tests:
echo
echo -n Mephis > outfile
cat -e < infile
> outfile cat -e < infile
> outfile; >outfile
< infile; <infile
echo -n Mephis >> outfile
echo -n Mephis
Break the input into words and operators, obeying the quoting rules described in "quoting". These tokens are separated by metacharacters. Alias expansion is performed by this step.
Parses the tokens into simple and compound commands.