operator overload for sh-like scripting ?
Adam D. Ruppe
destructionator at gmail.com
Mon Feb 17 13:36:22 UTC 2020
On Monday, 17 February 2020 at 13:03:38 UTC, Basile B. wrote:
> Sh(echo) < "meh";
Not allowed in D - it only does a comparison overload which
covers < and > (and <= and >=).
Though we could do strings and stuff. especially with my string
interpolation dip
https://gist.github.com/adamdruppe/a58f097d974b364ae1cbc8c050dd9a3f we could make it work quite well!
More information about the Digitalmars-d-learn
mailing list