3 ms·
I understand that spawning a shell to do the expansion work probably is a good idea when your goal is to "expand a string like the shell". But my guess is that
by cnvogel 12y ago
I understand that spawning a shell to do the expansion work probably is a good idea when your goal is to "expand a string like the shell".
But my guess is that most users will call wordexp() just to expand a few variables or tilde-homedirs.