Many people do use D as a scripting language, replacing their use of bash. D programs can be compiled and run in one step.
#!/usr/bin/env rdmd
import std.stdio;
void main()
{
writeln("Hello, world with automated script running!");
}
> ./myprog.d
Hello, world with automated script running!
https://dlang.org/rdmd.html