This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Command line expansions of ~ and other special characters
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Frysk Hackers <frysk at sourceware dot org>
- Date: Fri, 16 Nov 2007 08:03:47 +0000
- Subject: Command line expansions of ~ and other special characters
Right now the fhpd command line understands the ~ character as
/home/user, and will on tab navigate to the correct location. However
passing ~/core.1234 to the CorefileCommand will fail as Java's File
apparently does not. This would also be the case with load command. As
there is a potential for many areas of duplicate code grappling over
Linux special special character expansion, does it make sense to have
these expanded before they reach the sub-commands? What about special
cases like `pwd `/core.1234? If so, where does this extraction and
expansion need to occur?
Regards
Phil