anki-code / anki-code/xontrib-pipeliner

Add flushing

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
63
Forks
4
PR merge metrics
No merged PRs in 30d

Description

https://github.com/xonsh/xonsh/discussions/6010

```xsh
cd /tmp
echo @("""#!/usr/bin/env bash
while IFS= read line; do
echo "$line"
sleep 1
done
""") > lazycat.sh
chmod +x lazycat.sh

xontrib load pipeliner
yes | head | ./lazycat.sh | pl 'line.upper()'
yes | head | ./lazycat.sh | pl upper
# CURRENT: waiting 10 sec before output
# EXPECTED: output 1 line per second
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.