Skip to content

Instantly share code, notes, and snippets.

@crazymonkyyy
Created January 21, 2023 23:58
Show Gist options
  • Save crazymonkyyy/9893e98b5b0c1478f298ed66ae297e7f to your computer and use it in GitHub Desktop.
Save crazymonkyyy/9893e98b5b0c1478f298ed66ae297e7f to your computer and use it in GitHub Desktop.
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