view test/octave.test/system/tilde_expand-1.m @ 2742:eeb061f9cdbf

[project @ 1997-02-26 04:29:07 by jwe]
author jwe
date Wed, 26 Feb 1997 04:29:48 +0000
parents
children
line wrap: on
line source

x = getpwuid (getuid ());
(strcmp (x.dir, tilde_expand ("~"))
 && strcmp (x.dir, tilde_expand (sprintf ("~%s", x.name)))
 && strcmp ("foobar", tilde_expand ("foobar")))