Add Comment
|
Related Links
|
TrackBack
AbsoluteName.sh (GPL)AbsoluteName.sh is a Bourne shell script that returns the absolute path name to the file or directory you specify. AbsoluteName.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. UsageAbsoluteName.sh "directory" Examples: AbsoluteName.sh .wine Chieh Cheng In the original version of AbsoluteName.sh above, it generates absolute path names with relative directories (. and ..). For example: : AbsoluteName.sh . Technically, it is still a valid absolute path. But it makes grabbing directory names a pain. This new version of AbsoluteName.sh (attached below) is a cleaner program and it provides absolute path without relative directories. For example: : AbsoluteName.sh . By the way, the path presented to AbsoluteName.sh must be an existing path. It's meaningless to acquire an absolute path to something that is non-existant, as operating system redirection can be used to create the final materialized path. Chieh Cheng This latest version of "AbsoluteName.sh" does an addition sanity check to ensure the file exists. Chieh Cheng
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. Add CommentSpam Control | * indicates required field TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here. Messages, files, and images copyright by respective owners. |
Products
|
Services
89 Users Online
|
Copyright © 1996 - 2024. All Rights Reserved. |