4 ms·
Yes, I think I used to check if `$cmd` was in a space separated list of valid commands, but I don't anymore because I only every use this to quickly get some co
by spelufo 3y ago
Yes, I think I used to check if `$cmd` was in a space separated list of valid commands, but I don't anymore because I only every use this to quickly get some commands down into a project's directory so as not to forget them.
As soon as any complexity or validation is needed I move to python, which is usually a better fit, and arguably even more portable.