twiddle
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | twiddle [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: twiddle.txt, | ||
| + | ======Synopsis: | ||
| + | $twiddle(< | ||
| + | |||
| + | ======Technical: | ||
| + | This function is used to do tilde-expansion on the given name. The tilde | ||
| + | is required. | ||
| + | full path of that directory is returned. | ||
| + | nothing is returned. | ||
| + | returned. | ||
| + | |||
| + | ======Practical: | ||
| + | This is useful for ensuring that files will be written to your home | ||
| + | directory, regardless of the current directory. | ||
| + | |||
| + | ======Returns: | ||
| + | full path of home directory if user exists, nothing if not, input if error | ||
| + | |||
| + | ======Examples: | ||
| + | < | ||
| + | $twiddle(~) | ||
| + | $twiddle(~jvs) | ||
| + | $twiddle(~nosuchuser) | ||
| + | $twiddle(blah) | ||
| + | </ | ||
twiddle.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1
