Bourne Shell: Convert ~/Desktop to /users/me/Desktop

Posted by sixtyfootersdude on Stack Overflow See other posts from Stack Overflow or by sixtyfootersdude
Published on 2010-04-27T19:16:15Z Indexed on 2010/04/27 19:23 UTC
Read the original article Hit count: 334

Filed under:
|
|

Incredably annoyed at the Java Keytool. So much so that I have created a new tag: "SunSuck".

The keytool does not resolve impartial directories. Ie this works:

keytool -keystore "/users/me/Desktop" ...

This doesn't:

keytool -keystore "~/Desktop" ...

Is there something that I could call like this:

keytool -keystore "$(<cmd> ~/Desktop)" ...

© Stack Overflow or respective owner

Related posts about bourne

Related posts about scripting