Skip to content

Add support for herestrings

Michael Aaron Murphy requested to merge klieth:herestrings into master

Created by: klieth

Problem: #133 (closed)

Solution:

This adds a rule in the grammar for the <<< operator. It will capture a word/quoted string after it and feed that literal string, including an additional newline, to the stdin of the first process after it is spawned.

Drawbacks: This combines the execute_pipeline and pipe methods, making a pretty big single method.

Fixes: #133 (closed)

Merge request reports