Lines Matching refs:rest
96 char syspart[MAXFULLNAME], rest[BUFSIZ]; local
338 (void) split(prm, xsys, CNULL, rest);
548 ret = split(prm, syspart, CNULL, rest);
550 DEBUG(4, "rest -> %s, ", rest);
557 APPCMD(rest);
589 if (rest[0] != '~')
590 if (ckexpf(rest))
592 ASSERT(fprintf(fprx, "%c %s %s\n", redir, rest,
607 APPCMD(rest);
618 if (ckexpf(rest))
625 (void) fprintf(fprx, "%c %s\n", X_STDIN, rest);
627 APPCMD(rest);
640 if (ckexpf(rest))
642 DEBUG(4, "rest %s\n", rest);
645 if (uidstat(rest, &stbuf) != 0) {
647 gettext("can't get file status %s\n"), rest);
656 gettext("permission denied %s\n"), rest);
665 if (uidxcp(rest, dfile) != 0) {
667 gettext("can't copy %s\n"), rest);
672 GENSEND(fpc, rest, dfile, dfile);
674 GENSEND(fpc, rest, dfile, dfile);
691 APPCMD(BASENAME(rest, '/'));;
697 dfile, BASENAME(rest, '/'));
709 if (ckexpf(rest))
755 GENRCV(fp, rest, dfile);
758 if (rest[0] != '~')
759 if (ckexpf(rest))
773 BASENAME(rest, '/'));
774 APPCMD(BASENAME(rest, '/'));
830 GENRCV(fp, rest, dfile);
846 Spool, syspart, dfile, BASENAME(rest, '/'));
848 X_CMD, BASENAME(rest, '/'), xsys, dfile);
862 dfile, BASENAME(rest, '/'));
863 APPCMD(BASENAME(rest, '/'));
870 if (rest[0] != '~') /* expand '~' on remote */
871 if (ckexpf(rest))
874 (void) fprintf(fprx, "%c %s\n", X_STDIN, rest);
877 APPCMD(rest);