Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rules): Use tail instead of head to not truncate pipeline
Using `head` with a long document can kill off the read operation before the rest of the pipeline is done leaving `m4` to throw an error message. By using `tac` and `tail` instead we force the pipeline to stay open. Another option would have been `sed -n -e '1,$(HEAD)p'`, but that doesn't use the same number syntax to allow for "all but X lines" usage.
- Loading branch information