[Info-vax] mkdir ?
John E
eiler13 at gmail.com
Fri Jan 25 10:58:43 EST 2019
> $ mkdir :== "''perl' -e ""mkdir $ARGV[0];"""
>
> after which
>
> $ mkdir testdir
> $ mkdir ./testdir
> $ mkdir [.testdir]
Wow, that's really cool! Can you use that for many other commands also?
I'll add that I've generally found little perl snippets like this to generally be the easiest way to sneak unix syntax into DCL. For example, I have an overly complicated perl script to implement unix "cd" in a hybrid unix/vms manner such as the above.
More information about the Info-vax
mailing list