Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env rdmd
import std.stdio;
void main(in string[] args) {
writeln("Program: ", args[0]);
}

View file

@ -0,0 +1,3 @@
$ dmd scriptname.d
$ ./scriptname
Program: ./scriptname

View file

@ -0,0 +1,2 @@
$ ./scriptname.d
Program: /tmp/.rdmd/Users/andrew/Desktop/src/scriptname/scriptname.d.D3B32385A31B968A3CF8CAF1E1426E5F

View file

@ -0,0 +1,9 @@
// thisExePath function was introduced in D 2.064 (November 5, 2013)
import std.file;
import std.stdio;
void main(string[] args)
{
writeln("Program: ", thisExePath());
}