Lines Matching +defs:num +defs:dir
1 /* $Header: /p/tcsh/cvsroot/tcsh/sh.dir.c,v 3.80 2007/05/08 21:05:34 christos Exp $ */
3 * sh.dir.c: Directory manipulation functions
36 RCSID("$tcsh: sh.dir.c,v 3.80 2007/05/08 21:05:34 christos Exp $")
58 int bequiet = 0; /* do not print dir stack -strike */
300 dtildepr(Char *dir)
303 if ((user = getusername(&dir)) != NULL)
304 xprintf("~%-S%S", user, dir);
306 xprintf("%S", dir);
495 int dflag = skipargs(&v, "plvn", "[-|<dir>]");
682 * on login source of ~/.cshdirs, errors are eaten. the dir stack is all
703 int dflag = skipargs(&v, "plvn", " [-|<dir>|+<n>]");
1037 else { /* normal dir name (not . or .. or nothing) */
1282 if (cnt < 0) { /* < 0 ==> last dir requested. */
1303 * lets the user have the nth dir extracted from its current
1345 * of pushd commands which will restore the dir stack to
1356 unsigned int num;
1379 num = (unsigned int) ~0;
1381 num = (unsigned int) atoi(short2str(snum));
1401 if (num-- == 0)