Searched refs:file1 (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libcmd/
H A Dcmp.c145 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags, Sfoff_t count, Sfoff_t differences) argument
171 error(ERROR_exit(1), "EOF on %s", file1);
215 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
226 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
252 char* file1; local
313 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++))
316 if (streq(file1, "-"))
318 else if (!(f1 = sfopen(NiL, file1, "r")))
321 error(ERROR_system(0), "%s: cannot open", file1);
337 error(ERROR_exit(0), "%s: %s: invalid skip", file1,
[all...]
/ast/src/cmd/ksh93/tests/
H A Dio.sh54 print foo > file1
55 print bar >> file1
56 if [[ $(<file1) != $'foo\nbar' ]]
60 exec 3<> file1
66 if ( 4> file1 ) 2> /dev/null
81 exec 3<> file1
484 rm -f $tmp/file1 $tmp/file2
487 ln -s $tmp/file2 $tmp/file1
488 print bar >; $tmp/file1
H A Dheredoc.sh255 tmpfile1=$tmp/file1
/ast/src/cmd/ksh93/bltins/
H A Dtest.c521 static time_t test_time(const char *file1,const char *file2) argument
526 if(test_stat(file1,&statb1)<0)
543 int test_inode(const char *file1,const char *file2) argument
546 if(test_stat(file1,&stat1)>=0 && test_stat(file2,&stat2)>=0)
/ast/src/cmd/pax/
H A Dtestpax.sh110 : have a dir alphabetically between file1 and file2
114 : have file1 alphabetically less than file2

Completed in 14 milliseconds