Created
January 21, 2023 23:58
-
-
Save crazymonkyyy/9893e98b5b0c1478f298ed66ae297e7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std; | |
void main(string[] s){ | |
("mkfifo "~s[1]).executeShell; | |
File data; | |
//data.open(s[1]); | |
while (true){ | |
data.open(s[1]); | |
foreach(a;data.byLineCopy){ | |
a.writeln; | |
} | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment