├── .cvsignore ├── .gitattributes ├── .gitignore ├── .x-sc_prohibit_empty_lines_at_EOF ├── .x-sc_prohibit_test_minus_ao ├── ABOUT-NLS ├── AUTHORS ├── COPYING ├── ChangeLog ├── GNUmakefile ├── INSTALL ├── Makefile.am ├── Makefile.in ├── NEWS ├── README ├── README-alpha ├── README-hacking ├── THANKS ├── TODO ├── aclocal.m4 ├── autom4te.cache ├── output.0 ├── output.1 ├── output.2 ├── output.3 ├── output.4 ├── output.5 ├── requests ├── traces.0 ├── traces.1 ├── traces.2 ├── traces.3 ├── traces.4 └── traces.5 ├── build-aux ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── arg-nonnull.h ├── c++defs.h ├── check-testfiles.sh ├── compile ├── config.guess ├── config.rpath ├── config.sub ├── depcomp ├── install-sh ├── ltmain.sh ├── man-lint.sh ├── mdate-sh ├── missing ├── mkinstalldirs ├── snippet │ ├── .gitignore │ ├── _Noreturn.h │ ├── arg-nonnull.h │ ├── c++defs.h │ ├── unused-parameter.h │ └── warn-on-use.h ├── src-sniff.py ├── texinfo.tex ├── unused-parameter.h ├── update-copyright ├── useless-if-before-free ├── vc-list-files ├── warn-on-use.h └── ylwrap ├── cfg.mk ├── config.h.in ├── config.sub ├── configure ├── configure.ac ├── doc ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── fdl.texi ├── find-maint.info ├── find-maint.texi ├── find.info ├── find.info-1 ├── find.info-2 ├── find.texi ├── gpl-3.0.texi ├── mdate-sh ├── parse-datetime.texi ├── perm.texi ├── regexprops.texi ├── stamp-1 ├── stamp-vti ├── version.texi └── versionmaint.texi ├── find ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── defs.h ├── find.1 ├── find.c ├── finddata.c ├── fstype.c ├── ftsfind.c ├── parser.c ├── pred.c ├── sharefile.c ├── sharefile.h ├── testsuite │ ├── .cvsignore │ ├── .gitignore │ ├── Makefile.am │ ├── Makefile.in │ ├── config │ │ └── unix.exp │ ├── excuses.txt │ ├── find.gnu │ │ ├── access.exp │ │ ├── access.xo │ │ ├── comma.exp │ │ ├── comma.xo │ │ ├── delete.exp │ │ ├── delete.xo │ │ ├── deletedir.exp │ │ ├── deletedir.xo │ │ ├── deletefile.exp │ │ ├── deletefile.xo │ │ ├── depth-d.exp │ │ ├── depth-d.xo │ │ ├── depth.exp │ │ ├── depth.xo │ │ ├── empty.exp │ │ ├── empty.xo │ │ ├── exec-many-rtn-failure.exp │ │ ├── exec-many-rtn-failure.xo │ │ ├── exec-many-rtn-success.exp │ │ ├── exec-many-rtn-success.xo │ │ ├── exec-one-rtn-fail.exp │ │ ├── exec-one-rtn-fail.xo │ │ ├── exec-one-rtn-success.exp │ │ ├── exec-one-rtn-success.xo │ │ ├── execdir-hier.exp │ │ ├── execdir-hier.xo │ │ ├── execdir-in-unreadable.exp │ │ ├── execdir-multiple.exp │ │ ├── execdir-multiple.xo │ │ ├── execdir-one.exp │ │ ├── execdir-one.xo │ │ ├── execdir-pwd.exp │ │ ├── execdir-pwd1.exp │ │ ├── execdir-root-only.exp │ │ ├── execdir-root-only.xo │ │ ├── false.exp │ │ ├── false.xo │ │ ├── follow-arg-parent-symlink.exp │ │ ├── follow-arg-parent-symlink.xo │ │ ├── follow-basic.exp │ │ ├── follow-basic.xo │ │ ├── fprint-unwritable.exp │ │ ├── fprint0_stdout.exp │ │ ├── fprint0_stdout.xo │ │ ├── fprintf-samefile.exp │ │ ├── gnu-or.exp │ │ ├── gnu-or.xo │ │ ├── gnuand.exp │ │ ├── gnuand.xo │ │ ├── gnunot.exp │ │ ├── gnunot.xo │ │ ├── ilname.exp │ │ ├── ilname.xo │ │ ├── iname.exp │ │ ├── iname.xo │ │ ├── inum.exp │ │ ├── inum.xo │ │ ├── ipath.exp │ │ ├── ipath.xo │ │ ├── iregex1.exp │ │ ├── iregex1.xo │ │ ├── iwholename.exp │ │ ├── iwholename.xo │ │ ├── lname.exp │ │ ├── lname.xo │ │ ├── mindepth-arg.exp │ │ ├── mindepth-arg.xo │ │ ├── mindepth-badarg.exp │ │ ├── name-opt.exp │ │ ├── name-opt.xo │ │ ├── name-period.exp │ │ ├── name-period.xo │ │ ├── name-slash.exp │ │ ├── name-slash.xo │ │ ├── no-fdleak-test.exp │ │ ├── no-fdleak-test.xo │ │ ├── path.exp │ │ ├── path.xo │ │ ├── perm-slash.exp │ │ ├── perm-slash.xo │ │ ├── perm.exp │ │ ├── perm.xo │ │ ├── perm000.exp │ │ ├── perm000.xo │ │ ├── posix-dflt.exp │ │ ├── posix-dflt.xo │ │ ├── posix-h.exp │ │ ├── posix-h.xo │ │ ├── posix-l.exp │ │ ├── posix-l.xo │ │ ├── posix-perminvalid.exp │ │ ├── print0.exp │ │ ├── print0.xo │ │ ├── print_stdout.exp │ │ ├── print_stdout.xo │ │ ├── printf-h.exp │ │ ├── printf-h.xo │ │ ├── printf-nonlocal-symlink.exp │ │ ├── printf-nonlocal-symlink.xo │ │ ├── printf-slash.exp │ │ ├── printf-slash.xo │ │ ├── printf-symlink.exp │ │ ├── printf-symlink.xo │ │ ├── printf.exp │ │ ├── printf.xo │ │ ├── printfHdfl.exp │ │ ├── printfHdfl.xo │ │ ├── prune-default-print.exp │ │ ├── prune-default-print.xo │ │ ├── quit.exp │ │ ├── quit.xo │ │ ├── regex1.exp │ │ ├── regex1.xo │ │ ├── regex2.exp │ │ ├── regex2.xo │ │ ├── samefile-copy.exp │ │ ├── samefile-copy.xo │ │ ├── samefile-link.exp │ │ ├── samefile-link.xo │ │ ├── samefile-missing.exp │ │ ├── samefile-p-brokenlink.exp │ │ ├── samefile-p-brokenlink.xo │ │ ├── samefile-same.exp │ │ ├── samefile-same.xo │ │ ├── samefile-symlink.exp │ │ ├── samefile-symlink.xo │ │ ├── sv-bug-12230.exp │ │ ├── sv-bug-17477.exp │ │ ├── sv-bug-17490.exp │ │ ├── sv-bug-17782.exp │ │ ├── sv-bug-17782.xo │ │ ├── sv-bug-18222.exp │ │ ├── sv-bug-18222.xo │ │ ├── sv-bug-24169.exp │ │ ├── sv-bug-27563-execdir.exp │ │ ├── sv-bug-27563-execdir.xo │ │ ├── true.exp │ │ ├── true.xo │ │ ├── used-invarg.exp │ │ ├── used-missing.exp │ │ ├── user-invalid.exp │ │ ├── wholename.exp │ │ ├── wholename.xo │ │ ├── xtype-symlink.exp │ │ ├── xtype-symlink.xo │ │ ├── xtype.exp │ │ └── xtype.xo │ └── find.posix │ │ ├── and.exp │ │ ├── and.xo │ │ ├── bracket-depth.exp │ │ ├── depth1.exp │ │ ├── depth1.xo │ │ ├── empty-parens.exp │ │ ├── exec-nogaps.exp │ │ ├── exec-nogaps.xo │ │ ├── exec-one.exp │ │ ├── exec-one.xo │ │ ├── files-not-expressions1.exp │ │ ├── files-not-expressions1.xo │ │ ├── files-not-expressions2.exp │ │ ├── files-not-expressions2.xo │ │ ├── files-not-expressions3.exp │ │ ├── files-not-expressions3.xo │ │ ├── group-empty.exp │ │ ├── group-missing.exp │ │ ├── grouping.exp │ │ ├── grouping.xo │ │ ├── links.exp │ │ ├── links.xo │ │ ├── mtime0.exp │ │ ├── mtime0.xo │ │ ├── name-missing.exp │ │ ├── name.exp │ │ ├── name.xo │ │ ├── nameslash.exp │ │ ├── nameslash.xo │ │ ├── parent.exp │ │ ├── parent.xo │ │ ├── perm-X.exp │ │ ├── perm-X.xo │ │ ├── perm-vanilla.exp │ │ ├── perm-vanilla.xo │ │ ├── posixnot.exp │ │ ├── posixnot.xo │ │ ├── prune-result.exp │ │ ├── prune-result.xo │ │ ├── prune-stat.exp │ │ ├── prune-stat.xo │ │ ├── prune.exp │ │ ├── prune.xo │ │ ├── size-invalid.exp │ │ ├── size-missing.exp │ │ ├── sizes.exp │ │ ├── sizes.xo │ │ ├── sizetype.exp │ │ ├── sizetype.xo │ │ ├── sv-bug-11175.exp │ │ ├── sv-bug-11175.xo │ │ ├── sv-bug-12181.exp │ │ ├── sv-bug-12181.xo │ │ ├── sv-bug-15235.exp │ │ ├── sv-bug-15235.xo │ │ ├── sv-bug-19605.exp │ │ ├── sv-bug-19613.exp │ │ ├── sv-bug-19613.xo │ │ ├── sv-bug-19617.exp │ │ ├── sv-bug-25359.exp │ │ ├── sv-bug-25359.xo │ │ ├── sv-bug-27563-exec.exp │ │ ├── sv-bug-27563-exec.xo │ │ ├── sv-bug-30777.exp │ │ ├── typearg.exp │ │ ├── typesize.exp │ │ ├── typesize.xo │ │ ├── user-empty.exp │ │ └── user-missing.exp ├── tree.c └── util.c ├── gnulib ├── Makefile.am ├── Makefile.in ├── lib │ ├── Makefile.am │ ├── Makefile.in │ ├── alloca.c │ ├── alloca.in.h │ ├── areadlink-with-size.c │ ├── areadlink.c │ ├── areadlink.h │ ├── areadlinkat.c │ ├── argmatch.c │ ├── argmatch.h │ ├── asnprintf.c │ ├── at-func.c │ ├── basename-lgpl.c │ ├── basename.c │ ├── bitrotate.h │ ├── btowc.c │ ├── c-ctype.c │ ├── c-ctype.h │ ├── c-strcase.h │ ├── c-strcasecmp.c │ ├── c-strcasestr.c │ ├── c-strcasestr.h │ ├── c-strncasecmp.c │ ├── c-strstr.c │ ├── c-strstr.h │ ├── canonicalize.c │ ├── canonicalize.h │ ├── chdir-long.c │ ├── chdir-long.h │ ├── chown.c │ ├── cloexec.c │ ├── cloexec.h │ ├── close-hook.c │ ├── close-hook.h │ ├── close-stream.c │ ├── close-stream.h │ ├── close.c │ ├── closein.c │ ├── closein.h │ ├── closeout.c │ ├── closeout.h │ ├── config.charset │ ├── creat-safer.c │ ├── ctype.in.h │ ├── cycle-check.c │ ├── cycle-check.h │ ├── dev-ino.h │ ├── dirent--.h │ ├── dirent-safer.h │ ├── dirent.in.h │ ├── dirfd.c │ ├── dirname-lgpl.c │ ├── dirname.c │ ├── dirname.h │ ├── dosname.h │ ├── dup-safer.c │ ├── dup2.c │ ├── errno.in.h │ ├── error.c │ ├── error.h │ ├── euidaccess.c │ ├── exitfail.c │ ├── exitfail.h │ ├── faccessat.c │ ├── fchdir.c │ ├── fchmodat.c │ ├── fchown-stub.c │ ├── fchownat.c │ ├── fclose.c │ ├── fcntl--.h │ ├── fcntl-safer.h │ ├── fcntl.c │ ├── fcntl.in.h │ ├── fd-safer.c │ ├── fdopendir.c │ ├── fflush.c │ ├── file-set.c │ ├── file-set.h │ ├── fileblocks.c │ ├── filemode.c │ ├── filemode.h │ ├── float+.h │ ├── float.in.h │ ├── fnmatch.c │ ├── fnmatch.in.h │ ├── fnmatch_loop.c │ ├── fopen-safer.c │ ├── fopen.c │ ├── fpending.c │ ├── fpending.h │ ├── fpurge.c │ ├── freadahead.c │ ├── freadahead.h │ ├── freading.c │ ├── freading.h │ ├── fseeko.c │ ├── fstatat.c │ ├── ftello.c │ ├── fts-cycle.c │ ├── fts.c │ ├── fts_.h │ ├── getcwd.c │ ├── getdelim.c │ ├── getdtablesize.c │ ├── getfilecon.c │ ├── getgroups.c │ ├── getline.c │ ├── getopt.c │ ├── getopt.in.h │ ├── getopt1.c │ ├── getopt_int.h │ ├── gettext.h │ ├── gettime.c │ ├── gettimeofday.c │ ├── group-member.c │ ├── group-member.h │ ├── hash-pjw.c │ ├── hash-pjw.h │ ├── hash-triple.c │ ├── hash-triple.h │ ├── hash.c │ ├── hash.h │ ├── human.c │ ├── human.h │ ├── i-ring.c │ ├── i-ring.h │ ├── idcache.c │ ├── idcache.h │ ├── intprops.h │ ├── inttypes.in.h │ ├── isblank.c │ ├── iswblank.c │ ├── langinfo.in.h │ ├── lchown.c │ ├── localcharset.c │ ├── localcharset.h │ ├── locale.in.h │ ├── lseek.c │ ├── lstat.c │ ├── malloc.c │ ├── malloca.c │ ├── malloca.h │ ├── malloca.valgrind │ ├── math.in.h │ ├── mbchar.c │ ├── mbchar.h │ ├── mbrtowc.c │ ├── mbscasestr.c │ ├── mbsinit.c │ ├── mbslen.c │ ├── mbsrtowcs-impl.h │ ├── mbsrtowcs-state.c │ ├── mbsrtowcs.c │ ├── mbsstr.c │ ├── mbtowc-impl.h │ ├── mbtowc.c │ ├── mbuiter.h │ ├── memchr.c │ ├── memchr.valgrind │ ├── mempcpy.c │ ├── memrchr.c │ ├── mkdir.c │ ├── mkdirat.c │ ├── mktime-internal.h │ ├── mktime.c │ ├── modechange.c │ ├── modechange.h │ ├── mountlist.c │ ├── mountlist.h │ ├── nl_langinfo.c │ ├── open-safer.c │ ├── open.c │ ├── openat-die.c │ ├── openat-priv.h │ ├── openat-proc.c │ ├── openat-safer.c │ ├── openat.c │ ├── openat.h │ ├── opendir-safer.c │ ├── parse-datetime.c │ ├── parse-datetime.h │ ├── parse-datetime.y │ ├── pathmax.h │ ├── perror.c │ ├── pipe-safer.c │ ├── printf-args.c │ ├── printf-args.h │ ├── printf-parse.c │ ├── printf-parse.h │ ├── progname.c │ ├── progname.h │ ├── quote.c │ ├── quote.h │ ├── quotearg.c │ ├── quotearg.h │ ├── readlink.c │ ├── readlinkat.c │ ├── realloc.c │ ├── ref-add.sin │ ├── ref-del.sin │ ├── regcomp.c │ ├── regex.c │ ├── regex.h │ ├── regex_internal.c │ ├── regex_internal.h │ ├── regexec.c │ ├── rmdir.c │ ├── rpmatch.c │ ├── same-inode.h │ ├── same.c │ ├── same.h │ ├── save-cwd.c │ ├── save-cwd.h │ ├── savedir.c │ ├── savedir.h │ ├── se-context.in.h │ ├── se-selinux.in.h │ ├── selinux-at.c │ ├── selinux-at.h │ ├── setenv.c │ ├── size_max.h │ ├── snprintf.c │ ├── stat-macros.h │ ├── stat-time.h │ ├── stat.c │ ├── stdarg.in.h │ ├── stdbool.in.h │ ├── stddef.in.h │ ├── stdint.in.h │ ├── stdio--.h │ ├── stdio-impl.h │ ├── stdio-safer.h │ ├── stdio.in.h │ ├── stdlib.in.h │ ├── stpcpy.c │ ├── str-kmp.h │ ├── str-two-way.h │ ├── strcasecmp.c │ ├── strcasestr.c │ ├── strdup.c │ ├── streq.h │ ├── strerror.c │ ├── strftime.c │ ├── strftime.h │ ├── string.in.h │ ├── strings.in.h │ ├── stripslash.c │ ├── strncasecmp.c │ ├── strndup.c │ ├── strnlen.c │ ├── strnlen1.c │ ├── strnlen1.h │ ├── strstr.c │ ├── strtoimax.c │ ├── strtol.c │ ├── strtoll.c │ ├── strtoul.c │ ├── strtoull.c │ ├── strtoumax.c │ ├── sys_stat.in.h │ ├── sys_time.in.h │ ├── sys_wait.in.h │ ├── time.in.h │ ├── time_r.c │ ├── timespec.h │ ├── unistd--.h │ ├── unistd-safer.h │ ├── unistd.in.h │ ├── unitypes.in.h │ ├── uniwidth.in.h │ ├── uniwidth │ │ ├── cjk.h │ │ └── width.c │ ├── unlink.c │ ├── unlinkat.c │ ├── unsetenv.c │ ├── vasnprintf.c │ ├── vasnprintf.h │ ├── verify.h │ ├── version-etc-fsf.c │ ├── version-etc.c │ ├── version-etc.h │ ├── wchar.in.h │ ├── wcrtomb.c │ ├── wctype.in.h │ ├── wcwidth.c │ ├── xalloc-die.c │ ├── xalloc.h │ ├── xgetcwd.c │ ├── xgetcwd.h │ ├── xmalloc.c │ ├── xsize.h │ ├── xstrndup.c │ ├── xstrndup.h │ ├── xstrtod.c │ ├── xstrtod.h │ ├── xstrtol-error.c │ ├── xstrtol.c │ ├── xstrtol.h │ ├── xstrtoul.c │ ├── xstrtoumax.c │ ├── yesno.c │ └── yesno.h └── m4 │ ├── 00gnulib.m4 │ ├── alloca.m4 │ ├── argmatch.m4 │ ├── assert.m4 │ ├── bison.m4 │ ├── btowc.m4 │ ├── canonicalize.m4 │ ├── chdir-long.m4 │ ├── chown.m4 │ ├── clock_time.m4 │ ├── cloexec.m4 │ ├── close-stream.m4 │ ├── close.m4 │ ├── closein.m4 │ ├── closeout.m4 │ ├── codeset.m4 │ ├── configmake.m4 │ ├── ctype.m4 │ ├── cycle-check.m4 │ ├── d-ino.m4 │ ├── d-type.m4 │ ├── dirent-safer.m4 │ ├── dirent_h.m4 │ ├── dirfd.m4 │ ├── dirname.m4 │ ├── double-slash-root.m4 │ ├── dup2.m4 │ ├── eealloc.m4 │ ├── environ.m4 │ ├── errno_h.m4 │ ├── error.m4 │ ├── euidaccess.m4 │ ├── extensions.m4 │ ├── faccessat.m4 │ ├── fchdir.m4 │ ├── fclose.m4 │ ├── fcntl-o.m4 │ ├── fcntl-safer.m4 │ ├── fcntl.m4 │ ├── fcntl_h.m4 │ ├── fdopendir.m4 │ ├── fflush.m4 │ ├── fileblocks.m4 │ ├── filemode.m4 │ ├── flexmember.m4 │ ├── float_h.m4 │ ├── fnmatch.m4 │ ├── fopen.m4 │ ├── fpending.m4 │ ├── fpurge.m4 │ ├── freading.m4 │ ├── fseeko.m4 │ ├── fstypename.m4 │ ├── ftell.m4 │ ├── ftello.m4 │ ├── fts.m4 │ ├── getcwd-abort-bug.m4 │ ├── getcwd-path-max.m4 │ ├── getcwd.m4 │ ├── getdelim.m4 │ ├── getdtablesize.m4 │ ├── getgroups.m4 │ ├── getline.m4 │ ├── getopt.m4 │ ├── getpagesize.m4 │ ├── gettext.m4 │ ├── gettime.m4 │ ├── gettimeofday.m4 │ ├── getugroups.m4 │ ├── glibc21.m4 │ ├── gnulib-cache.m4 │ ├── gnulib-common.m4 │ ├── gnulib-comp.m4 │ ├── group-member.m4 │ ├── hash.m4 │ ├── human.m4 │ ├── i-ring.m4 │ ├── iconv.m4 │ ├── idcache.m4 │ ├── include_next.m4 │ ├── inline.m4 │ ├── intlmacosx.m4 │ ├── intmax_t.m4 │ ├── inttostr.m4 │ ├── inttypes-pri.m4 │ ├── inttypes.m4 │ ├── inttypes_h.m4 │ ├── isblank.m4 │ ├── iswblank.m4 │ ├── langinfo_h.m4 │ ├── lchown.m4 │ ├── lcmessage.m4 │ ├── lib-ld.m4 │ ├── lib-link.m4 │ ├── lib-prefix.m4 │ ├── libtool.m4 │ ├── libunistring-base.m4 │ ├── localcharset.m4 │ ├── locale-fr.m4 │ ├── locale-ja.m4 │ ├── locale-tr.m4 │ ├── locale-zh.m4 │ ├── locale_h.m4 │ ├── localename.m4 │ ├── lock.m4 │ ├── longlong.m4 │ ├── ls-mntd-fs.m4 │ ├── lseek.m4 │ ├── lstat.m4 │ ├── ltoptions.m4 │ ├── ltsugar.m4 │ ├── ltversion.m4 │ ├── lt~obsolete.m4 │ ├── malloc.m4 │ ├── malloca.m4 │ ├── math_h.m4 │ ├── mathfunc.m4 │ ├── mbchar.m4 │ ├── mbiter.m4 │ ├── mbrtowc.m4 │ ├── mbsinit.m4 │ ├── mbslen.m4 │ ├── mbsrtowcs.m4 │ ├── mbstate_t.m4 │ ├── mbtowc.m4 │ ├── memchr.m4 │ ├── mempcpy.m4 │ ├── memrchr.m4 │ ├── mgetgroups.m4 │ ├── mkdir.m4 │ ├── mktime.m4 │ ├── mmap-anon.m4 │ ├── mode_t.m4 │ ├── modechange.m4 │ ├── mountlist.m4 │ ├── multiarch.m4 │ ├── nl_langinfo.m4 │ ├── nls.m4 │ ├── onceonly.m4 │ ├── open.m4 │ ├── openat.m4 │ ├── parse-datetime.m4 │ ├── pathmax.m4 │ ├── perror.m4 │ ├── po.m4 │ ├── printf.m4 │ ├── priv-set.m4 │ ├── progtest.m4 │ ├── putenv.m4 │ ├── quote.m4 │ ├── quotearg.m4 │ ├── readlink.m4 │ ├── readlinkat.m4 │ ├── realloc.m4 │ ├── regex.m4 │ ├── rmdir.m4 │ ├── rpmatch.m4 │ ├── same.m4 │ ├── save-cwd.m4 │ ├── savedir.m4 │ ├── selinux-context-h.m4 │ ├── selinux-selinux-h.m4 │ ├── setenv.m4 │ ├── setlocale.m4 │ ├── size_max.m4 │ ├── sleep.m4 │ ├── snprintf.m4 │ ├── ssize_t.m4 │ ├── st_dm_mode.m4 │ ├── stat-time.m4 │ ├── stat.m4 │ ├── stdarg.m4 │ ├── stdbool.m4 │ ├── stddef_h.m4 │ ├── stdint.m4 │ ├── stdint_h.m4 │ ├── stdio-safer.m4 │ ├── stdio_h.m4 │ ├── stdlib_h.m4 │ ├── stpcpy.m4 │ ├── strcase.m4 │ ├── strcasestr.m4 │ ├── strdup.m4 │ ├── strerror.m4 │ ├── strftime.m4 │ ├── string_h.m4 │ ├── strings_h.m4 │ ├── strndup.m4 │ ├── strnlen.m4 │ ├── strstr.m4 │ ├── strtoimax.m4 │ ├── strtol.m4 │ ├── strtoll.m4 │ ├── strtoul.m4 │ ├── strtoull.m4 │ ├── strtoumax.m4 │ ├── symlink.m4 │ ├── symlinkat.m4 │ ├── sys_stat_h.m4 │ ├── sys_time_h.m4 │ ├── sys_wait_h.m4 │ ├── thread.m4 │ ├── threadlib.m4 │ ├── time_h.m4 │ ├── time_r.m4 │ ├── timespec.m4 │ ├── tm_gmtoff.m4 │ ├── ungetc.m4 │ ├── unistd-safer.m4 │ ├── unistd_h.m4 │ ├── unlink.m4 │ ├── unlinkdir.m4 │ ├── usleep.m4 │ ├── vasnprintf.m4 │ ├── version-etc.m4 │ ├── warn-on-use.m4 │ ├── warnings.m4 │ ├── wchar_h.m4 │ ├── wchar_t.m4 │ ├── wcrtomb.m4 │ ├── wctob.m4 │ ├── wctomb.m4 │ ├── wctype_h.m4 │ ├── wcwidth.m4 │ ├── wint_t.m4 │ ├── xalloc.m4 │ ├── xgetcwd.m4 │ ├── xsize.m4 │ ├── xstrndup.m4 │ ├── xstrtod.m4 │ ├── xstrtol.m4 │ ├── yesno.m4 │ └── yield.m4 ├── import-gnulib.config ├── import-gnulib.sh ├── lib ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── arg-max.h ├── buildcmd.c ├── buildcmd.h ├── check-regexprops.sh ├── dircallback.c ├── dircallback.h ├── extendbuf.c ├── extendbuf.h ├── fdleak.c ├── fdleak.h ├── findutils-version.c ├── findutils-version.h ├── forcefindlib.c ├── gnulib-version.c ├── gnulib-version.h ├── listfile.c ├── listfile.h ├── nextelem.c ├── nextelem.h ├── printquoted.c ├── printquoted.h ├── qmark.c ├── regexprops.c ├── regextype.c ├── regextype.h ├── safe-atoi.c ├── safe-atoi.h ├── savedirinfo.c ├── savedirinfo.h ├── unused-result.h └── waitpid.c ├── locate ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── bigram.c ├── code.c ├── frcode.c ├── locate.1 ├── locate.c ├── locatedb.5 ├── locatedb.h ├── testsuite │ ├── .cvsignore │ ├── .gitignore │ ├── Makefile.am │ ├── Makefile.in │ ├── config │ │ └── unix.exp │ └── locate.gnu │ │ ├── bigendian.exp │ │ ├── bigendian.xo │ │ ├── bigprefix1.exp │ │ ├── exceedshort.exp │ │ ├── exists1.exp │ │ ├── exists1.xo │ │ ├── exists2.exp │ │ ├── exists2.xo │ │ ├── exists3.exp │ │ ├── exists3.xo │ │ ├── ignore_case1.exp │ │ ├── ignore_case1.xo │ │ ├── ignore_case2.exp │ │ ├── ignore_case2.xo │ │ ├── ignore_case3.exp │ │ ├── ignore_case3.xo │ │ ├── littleendian.exp │ │ ├── littleendian.xo │ │ ├── locateddb.old.powerpc.xi │ │ ├── locateddb.old.x86.xi │ │ ├── notexists1.exp │ │ ├── notexists1.xo │ │ ├── notexists2.exp │ │ ├── notexists2.xo │ │ ├── notexists3.exp │ │ ├── notexists3.xo │ │ ├── old_prefix.exp │ │ ├── old_prefix.xo │ │ ├── regex1.exp │ │ ├── space1st.exp │ │ └── sv-bug-14535.exp ├── updatedb.1 ├── updatedb.sh └── word_io.c ├── m4 ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── findlib.m4 ├── gettext.m4 ├── iconv.m4 ├── intlmacosx.m4 ├── lib-ld.m4 ├── lib-link.m4 ├── lib-prefix.m4 ├── mkinstalldirs.m4 ├── nls.m4 ├── noreturn.m4 ├── nullsort.m4 ├── order-bad.bin ├── order-good.bin ├── po.m4 ├── progtest.m4 └── withfts.m4 ├── maint.mk ├── patch.out ├── po ├── .cvsignore ├── .gitignore ├── ChangeLog ├── Makefile.in.in ├── Makevars ├── Makevars.template ├── POTFILES.in ├── Rules-quot ├── be.gmo ├── be.po ├── bg.gmo ├── bg.po ├── boldquot.sed ├── ca.gmo ├── ca.po ├── cs.gmo ├── cs.po ├── da.gmo ├── da.po ├── de.gmo ├── de.po ├── el.gmo ├── el.po ├── en@boldquot.header ├── en@quot.header ├── eo.gmo ├── eo.po ├── es.gmo ├── es.po ├── et.gmo ├── et.po ├── fetch-po-files ├── fi.gmo ├── fi.po ├── findutils.pot ├── fr.gmo ├── fr.po ├── ga.gmo ├── ga.po ├── gl.gmo ├── gl.po ├── hr.gmo ├── hr.po ├── hu.gmo ├── hu.po ├── id.gmo ├── id.po ├── insert-header.sin ├── it.gmo ├── it.po ├── ja.gmo ├── ja.po ├── ko.gmo ├── ko.po ├── lg.gmo ├── lg.po ├── lt.gmo ├── lt.po ├── ms.gmo ├── ms.po ├── nl.gmo ├── nl.po ├── pl.gmo ├── pl.po ├── pt.gmo ├── pt.po ├── pt_BR.gmo ├── pt_BR.po ├── quot.sed ├── remove-potcdate.sin ├── ro.gmo ├── ro.po ├── ru.gmo ├── ru.po ├── rw.gmo ├── rw.po ├── sk.gmo ├── sk.po ├── sl.gmo ├── sl.po ├── sr.gmo ├── sr.po ├── stamp-po ├── sv.gmo ├── sv.po ├── tr.gmo ├── tr.po ├── uk.gmo ├── uk.po ├── vi.gmo ├── vi.po ├── zh_CN.gmo ├── zh_CN.po ├── zh_TW.gmo └── zh_TW.po ├── stamp-h.in ├── tests ├── Makefile.am ├── Makefile.in ├── accept.c ├── anytostr.c ├── arpa_inet.in.h ├── at-func.c ├── binary-io.c ├── binary-io.h ├── bind.c ├── connect.c ├── dup-safer-flag.c ├── fd-safer-flag.c ├── fdopen.c ├── fpucw.h ├── ftell.c ├── ftruncate.c ├── getpagesize.c ├── getugroups.c ├── getugroups.h ├── glthread │ ├── lock.c │ ├── lock.h │ ├── thread.c │ ├── thread.h │ ├── threadlib.c │ └── yield.h ├── ignore-value.h ├── imaxtostr.c ├── inet_pton.c ├── infinity.h ├── init.sh ├── inttostr.c ├── inttostr.h ├── ioctl.c ├── listen.c ├── localename.c ├── localename.h ├── macros.h ├── mgetgroups.c ├── mgetgroups.h ├── minus-zero.h ├── nan.h ├── nanosleep.c ├── nap.h ├── netinet_in.in.h ├── offtostr.c ├── pipe.c ├── priv-set.c ├── priv-set.h ├── putenv.c ├── raise.c ├── randomd.c ├── rmdir.c ├── select.c ├── setlocale.c ├── setsockopt.c ├── sig-handler.c ├── sig-handler.h ├── sigaction.c ├── signal.in.h ├── signature.h ├── sigprocmask.c ├── sleep.c ├── socket.c ├── sockets.c ├── sockets.h ├── statat.c ├── stdalign.in.h ├── symlink.c ├── symlinkat.c ├── sys_ioctl.in.h ├── sys_select.in.h ├── sys_socket.c ├── sys_socket.in.h ├── sys_uio.in.h ├── test-accept.c ├── test-alloca-opt.c ├── test-areadlink-with-size.c ├── test-areadlink.c ├── test-areadlink.h ├── test-areadlinkat.c ├── test-argmatch.c ├── test-arpa_inet.c ├── test-binary-io.c ├── test-binary-io.sh ├── test-bind.c ├── test-bitrotate.c ├── test-btowc.c ├── test-btowc1.sh ├── test-btowc2.sh ├── test-c-ctype.c ├── test-c-strcase.sh ├── test-c-strcasecmp.c ├── test-c-strcasestr.c ├── test-c-strncasecmp.c ├── test-c-strstr.c ├── test-canonicalize.c ├── test-chdir.c ├── test-chown.c ├── test-chown.h ├── test-cloexec.c ├── test-close.c ├── test-closein.c ├── test-closein.sh ├── test-connect.c ├── test-ctype.c ├── test-dirent-safer.c ├── test-dirent.c ├── test-dirname.c ├── test-dup-safer.c ├── test-dup.c ├── test-dup2.c ├── test-environ.c ├── test-errno.c ├── test-faccessat.c ├── test-fchdir.c ├── test-fchownat.c ├── test-fcntl-h.c ├── test-fcntl-safer.c ├── test-fcntl.c ├── test-fdopen.c ├── test-fdopendir.c ├── test-fflush.c ├── test-fflush2.c ├── test-fflush2.sh ├── test-fgetc.c ├── test-float.c ├── test-fnmatch.c ├── test-fopen-safer.c ├── test-fopen.c ├── test-fopen.h ├── test-fpending.c ├── test-fpending.sh ├── test-fpurge.c ├── test-fputc.c ├── test-fread.c ├── test-freadahead.c ├── test-freadahead.sh ├── test-freading.c ├── test-fseek.c ├── test-fseek.sh ├── test-fseek2.sh ├── test-fseeko.c ├── test-fseeko.sh ├── test-fseeko2.sh ├── test-fseeko3.c ├── test-fseeko3.sh ├── test-fseeko4.c ├── test-fseeko4.sh ├── test-fstat.c ├── test-fstatat.c ├── test-ftell.c ├── test-ftell.sh ├── test-ftell2.sh ├── test-ftell3.c ├── test-ftello.c ├── test-ftello.sh ├── test-ftello2.sh ├── test-ftello3.c ├── test-ftello4.c ├── test-ftello4.sh ├── test-ftruncate.c ├── test-ftruncate.sh ├── test-fwrite.c ├── test-getcwd-lgpl.c ├── test-getcwd.c ├── test-getcwd.sh ├── test-getdelim.c ├── test-getdtablesize.c ├── test-getgroups.c ├── test-getline.c ├── test-getopt.c ├── test-getopt.h ├── test-getopt_long.h ├── test-gettimeofday.c ├── test-hash.c ├── test-i-ring.c ├── test-ignore-value.c ├── test-inet_pton.c ├── test-init.sh ├── test-intprops.c ├── test-inttostr.c ├── test-inttypes.c ├── test-ioctl.c ├── test-isblank.c ├── test-isfinite.c ├── test-isinf.c ├── test-isnand-nolibm.c ├── test-isnand.h ├── test-isnanf-nolibm.c ├── test-isnanf.h ├── test-isnanl-nolibm.c ├── test-isnanl.h ├── test-iswblank.c ├── test-langinfo.c ├── test-lchown.c ├── test-lchown.h ├── test-listen.c ├── test-locale.c ├── test-localeconv.c ├── test-localename.c ├── test-lock.c ├── test-lseek.c ├── test-lseek.sh ├── test-lstat.c ├── test-lstat.h ├── test-malloc-gnu.c ├── test-malloca.c ├── test-math.c ├── test-mbrtowc-w32-1.sh ├── test-mbrtowc-w32-2.sh ├── test-mbrtowc-w32-3.sh ├── test-mbrtowc-w32-4.sh ├── test-mbrtowc-w32-5.sh ├── test-mbrtowc-w32.c ├── test-mbrtowc.c ├── test-mbrtowc1.sh ├── test-mbrtowc2.sh ├── test-mbrtowc3.sh ├── test-mbrtowc4.sh ├── test-mbscasestr1.c ├── test-mbscasestr2.c ├── test-mbscasestr2.sh ├── test-mbscasestr3.c ├── test-mbscasestr3.sh ├── test-mbscasestr4.c ├── test-mbscasestr4.sh ├── test-mbsinit.c ├── test-mbsinit.sh ├── test-mbsrtowcs.c ├── test-mbsrtowcs1.sh ├── test-mbsrtowcs2.sh ├── test-mbsrtowcs3.sh ├── test-mbsrtowcs4.sh ├── test-mbsstr1.c ├── test-mbsstr2.c ├── test-mbsstr2.sh ├── test-mbsstr3.c ├── test-mbsstr3.sh ├── test-memchr.c ├── test-memrchr.c ├── test-mkdir.c ├── test-mkdir.h ├── test-mkdirat.c ├── test-modf.c ├── test-modf.h ├── test-nanosleep.c ├── test-netinet_in.c ├── test-nl_langinfo.c ├── test-nl_langinfo.sh ├── test-open.c ├── test-open.h ├── test-openat-safer.c ├── test-openat.c ├── test-parse-datetime.c ├── test-pathmax.c ├── test-perror.c ├── test-perror.sh ├── test-perror2.c ├── test-pipe.c ├── test-priv-set.c ├── test-quotearg-simple.c ├── test-quotearg.h ├── test-raise.c ├── test-readlink.c ├── test-readlink.h ├── test-readlinkat.c ├── test-realloc-gnu.c ├── test-regex.c ├── test-rmdir.c ├── test-rmdir.h ├── test-select-fd.c ├── test-select-in.sh ├── test-select-out.sh ├── test-select-stdin.c ├── test-select.c ├── test-select.h ├── test-setenv.c ├── test-setlocale1.c ├── test-setlocale1.sh ├── test-setlocale2.c ├── test-setlocale2.sh ├── test-setsockopt.c ├── test-sigaction.c ├── test-signal-h.c ├── test-sigprocmask.c ├── test-sleep.c ├── test-snprintf.c ├── test-sockets.c ├── test-stat-time.c ├── test-stat.c ├── test-stat.h ├── test-statat.c ├── test-stdalign.c ├── test-stdbool.c ├── test-stddef.c ├── test-stdint.c ├── test-stdio.c ├── test-stdlib.c ├── test-strcasestr.c ├── test-strerror.c ├── test-strerror_r.c ├── test-strftime.c ├── test-string.c ├── test-strings.c ├── test-strnlen.c ├── test-strstr.c ├── test-strtol.c ├── test-strtoul.c ├── test-strtoull.c ├── test-strtoumax.c ├── test-symlink.c ├── test-symlink.h ├── test-symlinkat.c ├── test-sys_ioctl.c ├── test-sys_select.c ├── test-sys_socket.c ├── test-sys_stat.c ├── test-sys_time.c ├── test-sys_types.c ├── test-sys_uio.c ├── test-sys_wait.c ├── test-sys_wait.h ├── test-thread_create.c ├── test-thread_self.c ├── test-time.c ├── test-trunc1.c ├── test-trunc2.c ├── test-unistd.c ├── test-unlink.c ├── test-unlink.h ├── test-unlinkat.c ├── test-unsetenv.c ├── test-update-copyright.sh ├── test-usleep.c ├── test-vasnprintf.c ├── test-vc-list-files-cvs.sh ├── test-vc-list-files-git.sh ├── test-verify.c ├── test-verify.sh ├── test-version-etc.c ├── test-version-etc.sh ├── test-wchar.c ├── test-wcrtomb-w32-1.sh ├── test-wcrtomb-w32-2.sh ├── test-wcrtomb-w32-3.sh ├── test-wcrtomb-w32-4.sh ├── test-wcrtomb-w32-5.sh ├── test-wcrtomb-w32.c ├── test-wcrtomb.c ├── test-wcrtomb.sh ├── test-wctype-h.c ├── test-wcwidth.c ├── test-xalloc-die.c ├── test-xalloc-die.sh ├── test-xstrtol.c ├── test-xstrtol.sh ├── test-xstrtoul.c ├── test-xstrtoumax.c ├── test-xstrtoumax.sh ├── test-yesno.c ├── test-yesno.sh ├── uinttostr.c ├── umaxtostr.c ├── uniwidth │ ├── test-uc_width.c │ ├── test-uc_width2.c │ └── test-uc_width2.sh ├── unlink.c ├── unlinkat.c ├── unlinkdir.c ├── unlinkdir.h ├── usleep.c ├── w32sock.h ├── wctob.c ├── wctomb-impl.h ├── wctomb.c └── zerosize-ptr.h └── xargs ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── testsuite ├── .cvsignore ├── .gitignore ├── Makefile.am ├── Makefile.in ├── config │ └── unix.exp ├── inputs │ ├── 16383-ys.xi │ ├── 32767-ys.xi │ ├── EOF.xi │ ├── EOFb.xi │ ├── EOFe.xi │ ├── Pdata.xi │ ├── blank.xi │ ├── empty.xi │ ├── eof1.xi │ ├── eof_-0.xi │ ├── eof_.xi │ ├── eofstr.xi │ ├── ett.xi │ ├── files.xi │ ├── files0.xi │ ├── foobar.xi │ ├── formfeeds.xi │ ├── ftt.xi │ ├── helloworld.xi │ ├── items-0.xi │ ├── items.xi │ ├── ldata-0.xi │ ├── ldata.xi │ ├── ldatab-0.xi │ ├── ldatab.xi │ ├── lines.xi │ ├── noeof-0.xi │ ├── noeof.xi │ ├── quotes.xi │ ├── space.xi │ ├── stairs-0.xi │ ├── stairs.xi │ ├── stairs2-0.xi │ ├── stairs2.xi │ ├── stt.xi │ ├── sv-bug-20273.xi │ ├── unmatched.xi │ ├── unmatched2.xi │ └── verticaltabs.xi ├── xargs.gnu │ ├── 0n3.exp │ ├── 0n3.xo │ ├── E_-0.exp │ ├── E_-0.xo │ ├── L2-0.exp │ ├── L2-0.xo │ ├── L2_2-0.exp │ ├── L2_2-0.xo │ ├── L3-0.exp │ ├── L3-0.xo │ ├── P3-n1-IARG.exp │ ├── P3-n1-IARG.xo │ ├── delim-o.exp │ ├── delim-o.xo │ ├── empty-r.exp │ ├── empty_def-r.exp │ ├── idef-0.exp │ ├── idef-0.xo │ ├── idef-s26-0.exp │ ├── idef-s26-0.xo │ ├── l1-0.exp │ ├── l1-0.xo │ ├── l1_2-0.exp │ ├── l1_2-0.xo │ ├── n1-0.exp │ ├── n1-0.xo │ ├── n2-0.exp │ ├── n2-0.xo │ ├── n2-s26-0.exp │ ├── n2-s26-0.xo │ ├── n2-s26-x-0.exp │ ├── n2-s26-x-0.xo │ ├── n3-0.exp │ ├── n3-0.xo │ ├── n3-s36-0.exp │ ├── n3-s36-0.xo │ ├── noeof-0.exp │ ├── noeof-0.xo │ ├── nothing.exp │ ├── nothing.xo │ ├── r.exp │ ├── r.xo │ ├── s118-0.exp │ ├── s118-0.xo │ ├── s19-0.exp │ ├── s19-0.xo │ ├── s19_2-0.exp │ ├── s20-0.exp │ ├── s20-0.xo │ ├── s30-0.exp │ ├── s30-0.xo │ ├── space-0.exp │ ├── space-0.xo │ ├── space-r.exp │ ├── space-t-0.exp │ ├── space-t-0.xe │ └── space-t-0.xo ├── xargs.posix │ ├── EEOF.exp │ ├── EEOF.xo │ ├── EEOFb.exp │ ├── EEOFb.xo │ ├── EEOFe.exp │ ├── EEOFe.xo │ ├── E_-IARG.exp │ ├── E_-IARG.xo │ ├── E_.exp │ ├── E_.xo │ ├── IARG-E_.exp │ ├── IARG-E_.xo │ ├── IARG-s15.exp │ ├── IARG-s15.xo │ ├── IARG.exp │ ├── IARG.xo │ ├── L2-n2.exp │ ├── L2-n2.xo │ ├── L2_2.exp │ ├── L2_2.xo │ ├── L3.exp │ ├── L3.xo │ ├── arg_max_32bit_linux_bug.exp │ ├── arg_max_64bit_linux_bug.exp │ ├── childfail.exp │ ├── empty.exp │ ├── empty.xo │ ├── empty_def.exp │ ├── empty_def.xo │ ├── hithere.exp │ ├── hithere.xo │ ├── n1.exp │ ├── n1.xo │ ├── n2-s26-x.exp │ ├── n2-s26-x.xo │ ├── n2-s26.exp │ ├── n2-s26.xo │ ├── n2.exp │ ├── n2.xo │ ├── n3-s36.exp │ ├── n3-s36.xo │ ├── n3.exp │ ├── n3.xo │ ├── noeof.exp │ ├── noeof.xo │ ├── quotes.exp │ ├── quotes.xo │ ├── rc-123.exp │ ├── rc-123.xo │ ├── rc-124.exp │ ├── rc-125.exp │ ├── rc-126.exp │ ├── rc-127.exp │ ├── s118.exp │ ├── s118.xo │ ├── s19.exp │ ├── s19.xo │ ├── s19_2.exp │ ├── s20.exp │ ├── s20.xo │ ├── s30.exp │ ├── s30.xo │ ├── s47.exp │ ├── s47.xo │ ├── s470.exp │ ├── s470.xo │ ├── s48.exp │ ├── s48.xo │ ├── s6.exp │ ├── savannah-11865.exp │ ├── savannah-11865.xo │ ├── space-I.exp │ ├── space.exp │ ├── space.xo │ ├── sv-bug-18714.exp │ ├── sv-bug-18714.xo │ ├── sv-bug-18714b.exp │ ├── sv-bug-18714b.xo │ ├── sv-bug-20273.exp │ ├── sv-bug-20273.xo │ ├── uc_L2.exp │ ├── uc_L2.xo │ ├── unmatched-n2-x.exp │ ├── unmatched.exp │ ├── unmatched.xo │ ├── unmatched2.exp │ └── unmatched2.xo └── xargs.sysv │ ├── e.exp │ ├── e.xo │ ├── eEOF.exp │ ├── eEOF.xo │ ├── empty-t.exp │ ├── empty-t.xe │ ├── empty-t.xo │ ├── empty_def-t.exp │ ├── empty_def-t.xe │ ├── empty_def-t.xo │ ├── eof1.exp │ ├── eof1.xo │ ├── iARG.exp │ ├── iARG.xo │ ├── idef-s26.exp │ ├── idef-s26.xo │ ├── idef.exp │ ├── idef.xo │ ├── iquotes.exp │ ├── iquotes.xo │ ├── l1.exp │ ├── l1.xo │ ├── l1_2.exp │ ├── l1_2.xo │ ├── l1n4.exp │ ├── l1n4.xo │ ├── lc_l2.exp │ ├── lc_l2.xo │ ├── s30-t.exp │ ├── s30-t.xe │ ├── s30-t.xo │ ├── space-t.exp │ ├── space-t.xe │ ├── space-t.xo │ ├── sv-bug-18713.exp │ ├── sv-bug-18713.xo │ ├── trace.exp │ ├── trace.xe │ └── trace.xo ├── xargs.1 └── xargs.c /.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | aclocal.m4 4 | build 5 | config.cache 6 | autom4te.cache 7 | config.h 8 | config.h.in 9 | configure 10 | config.log 11 | config.status 12 | stamp-h1 13 | config.sub 14 | config.rpath 15 | config.guess 16 | gnulib 17 | install-sh 18 | link-warning.h 19 | gnulib-git 20 | tests 21 | findutils-* 22 | GNUmakefile 23 | maint.mk 24 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ChangeLog merge=merge-changelog 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ABOUT-NLS 2 | Makefile 3 | Makefile.in 4 | aclocal.m4 5 | build 6 | config.cache 7 | autom4te.cache 8 | config.h 9 | config.h.in 10 | configure 11 | config.log 12 | config.status 13 | stamp-h1 14 | config.sub 15 | config.rpath 16 | config.guess 17 | gnulib 18 | install-sh 19 | link-warning.h 20 | gnulib-git 21 | tests 22 | *~ 23 | patches 24 | INSTALL 25 | /GNUmakefile 26 | /maint.mk 27 | -------------------------------------------------------------------------------- /.x-sc_prohibit_empty_lines_at_EOF: -------------------------------------------------------------------------------- 1 | xargs/testsuite/xargs\..*/.*\.xo 2 | xargs/testsuite/inputs/.*\.xi 3 | locate/testsuite/locate\.gnu/.*\.xo 4 | find/testsuite/find\..*/.*\.xo 5 | COPYING 6 | doc/regexprops.texi 7 | -------------------------------------------------------------------------------- /.x-sc_prohibit_test_minus_ao: -------------------------------------------------------------------------------- 1 | ChangeLog 2 | find/testsuite/config/unix.exp 3 | locate/testsuite/config/unix.exp 4 | xargs/testsuite/config/unix.exp 5 | find/testsuite/.*\.exp 6 | locate/testsuite/.*\.exp 7 | xargs/testsuite/.*\.exp 8 | -------------------------------------------------------------------------------- /build-aux/.cvsignore: -------------------------------------------------------------------------------- 1 | compile 2 | config.guess 3 | config.rpath 4 | config.sub 5 | depcomp 6 | install-sh 7 | mdate-sh 8 | missing 9 | texinfo.tex 10 | link-warning.h 11 | Makefile.in 12 | Makefile 13 | mkinstalldirs 14 | ylwrap 15 | arg-nonnull.h 16 | warn-on-use.h 17 | c++defs.h 18 | useless-if-before-free 19 | vc-list-files 20 | update-copyright 21 | unused-parameter.h 22 | -------------------------------------------------------------------------------- /build-aux/.gitignore: -------------------------------------------------------------------------------- 1 | config.guess 2 | config.rpath 3 | config.sub 4 | depcomp 5 | install-sh 6 | mdate-sh 7 | missing 8 | texinfo.tex 9 | link-warning.h 10 | Makefile.in 11 | mkinstalldirs 12 | ylwrap 13 | compile 14 | /arg-nonnull.h 15 | /warn-on-use.h 16 | /c++defs.h 17 | /useless-if-before-free 18 | /vc-list-files 19 | /update-copyright 20 | /unused-parameter.h 21 | -------------------------------------------------------------------------------- /build-aux/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = check-testfiles.sh man-lint.sh 2 | -------------------------------------------------------------------------------- /build-aux/man-lint.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | rv=0 4 | srcdir="$1" ; shift 5 | 6 | for manpage 7 | do 8 | what="lint check on manpage $manpage" 9 | echo -n "$what: " 10 | messages="$( troff -t -man ${srcdir}/${manpage} 2>&1 >/dev/null )" 11 | if test -z "$messages" ; then 12 | echo "passed" 13 | else 14 | echo "FAILED:" >&2 15 | echo "$messages" >&2 16 | rv=1 17 | fi 18 | done 19 | exit $rv 20 | -------------------------------------------------------------------------------- /build-aux/snippet/.gitignore: -------------------------------------------------------------------------------- 1 | /_Noreturn.h 2 | /arg-nonnull.h 3 | /c++defs.h 4 | /unused-parameter.h 5 | /warn-on-use.h 6 | -------------------------------------------------------------------------------- /build-aux/snippet/_Noreturn.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/build-aux/snippet/_Noreturn.h -------------------------------------------------------------------------------- /doc/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | mdate-sh 4 | *.aux 5 | *.cp 6 | *.cps 7 | *.dvi 8 | *.fn 9 | *.fns 10 | *.html 11 | *.info 12 | *.info-* 13 | *.ky 14 | *.log 15 | *.pdf 16 | *.pg 17 | *.ps 18 | *.toc 19 | *.tp 20 | *.vr 21 | *.vrs 22 | regexprops.texi 23 | stamp-vti 24 | version.texi 25 | texinfo.tex 26 | getdate.texi 27 | find-maint.info 28 | stamp-1 29 | versionmaint.texi 30 | fdl.texi 31 | gpl-3.0.texi 32 | regexprops-generic.texi 33 | parse-datetime.texi 34 | -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | mdate-sh 4 | find.aux 5 | find.cp 6 | find.cps 7 | find.dvi 8 | find.fn 9 | find.fns 10 | find.info 11 | find.info-1 12 | find.info-2 13 | find.ky 14 | find.log 15 | find.pg 16 | find.ps 17 | find.toc 18 | find.tp 19 | find.vr 20 | stamp-vti 21 | version.texi 22 | texinfo.tex 23 | getdate.texi 24 | versionmaint.texi 25 | stamp-1 26 | find-maint.info 27 | fdl.texi 28 | gpl-3.0.texi 29 | regexprops-generic.texi 30 | /parse-datetime.texi 31 | -------------------------------------------------------------------------------- /doc/gpl-3.0.texi: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/doc/gpl-3.0.texi -------------------------------------------------------------------------------- /doc/stamp-1: -------------------------------------------------------------------------------- 1 | @set UPDATED 21 March 2013 2 | @set UPDATED-MONTH March 2013 3 | @set EDITION 4.5.10 4 | @set VERSION 4.5.10 5 | -------------------------------------------------------------------------------- /doc/stamp-vti: -------------------------------------------------------------------------------- 1 | @set UPDATED 21 March 2013 2 | @set UPDATED-MONTH March 2013 3 | @set EDITION 4.5.10 4 | @set VERSION 4.5.10 5 | -------------------------------------------------------------------------------- /doc/version.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 21 March 2013 2 | @set UPDATED-MONTH March 2013 3 | @set EDITION 4.5.10 4 | @set VERSION 4.5.10 5 | -------------------------------------------------------------------------------- /doc/versionmaint.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 21 March 2013 2 | @set UPDATED-MONTH March 2013 3 | @set EDITION 4.5.10 4 | @set VERSION 4.5.10 5 | -------------------------------------------------------------------------------- /find/.cvsignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | find 5 | oldfind 6 | -------------------------------------------------------------------------------- /find/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | find 5 | oldfind 6 | *~ 7 | finddata.o 8 | find.o 9 | fstype.o 10 | ftsfind.o 11 | parser.o 12 | pred.o 13 | sharefile.o 14 | tree.o 15 | util.o 16 | libfindtools.a 17 | -------------------------------------------------------------------------------- /find/testsuite/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | dbg.log 4 | find.log 5 | find.sum 6 | site.exp 7 | -------------------------------------------------------------------------------- /find/testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | dbg.log 4 | find.log 5 | find.sum 6 | site.exp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/access.exp: -------------------------------------------------------------------------------- 1 | # tests for -readable, -writable, -executable 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | if { ! [ fs_superuser ] } { 5 | touch tmp/x tmp/w tmp/r tmp/rw tmp/rwx tmp/0 6 | exec chmod 400 tmp/r 7 | exec chmod 200 tmp/w 8 | exec chmod 100 tmp/x 9 | exec chmod 000 tmp/0 10 | exec chmod 600 tmp/rw 11 | exec chmod 700 tmp/rwx 12 | find_start p {tmp -readable -printf "r %p\n" , -writable -printf "w %p\n" , -executable -printf "x %p\n"} 13 | exec rm -rf tmp 14 | } 15 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/access.xo: -------------------------------------------------------------------------------- 1 | r tmp 2 | r tmp/r 3 | r tmp/rw 4 | r tmp/rwx 5 | w tmp 6 | w tmp/rw 7 | w tmp/rwx 8 | w tmp/w 9 | x tmp 10 | x tmp/rwx 11 | x tmp/x 12 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/comma.exp: -------------------------------------------------------------------------------- 1 | find_start p {. -maxdepth 2 -false , -name .} 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/comma.xo: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/delete.exp: -------------------------------------------------------------------------------- 1 | global FTSFIND 2 | global FINDFLAGS 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/top tmp/top/one tmp/top/one/foo tmp/top/two 5 | eval exec $FTSFIND tmp $FINDFLAGS -path tmp/top/two -delete 6 | find_start p {tmp -print } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/delete.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/top 3 | tmp/top/one 4 | tmp/top/one/foo 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/deletedir.exp: -------------------------------------------------------------------------------- 1 | global FTSFIND 2 | global FINDFLAGS 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/top 5 | proc createdir {} { 6 | exec mkdir tmp/top/dir 7 | } 8 | find_start p {tmp -path tmp/top/dir -delete -print} "" "" createdir 9 | exec rm -rf tmp 10 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/deletedir.xo: -------------------------------------------------------------------------------- 1 | tmp/top/dir 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/deletefile.exp: -------------------------------------------------------------------------------- 1 | global FTSFIND 2 | global FINDFLAGS 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/top 5 | proc touchfile {} { 6 | exec touch tmp/top/file 7 | } 8 | find_start p {tmp -path tmp/top/file -delete -print} "" "" touchfile 9 | exec rm -rf tmp 10 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/deletefile.xo: -------------------------------------------------------------------------------- 1 | tmp/top/file 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/depth-d.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec mkdir tmp/top 4 | exec mkdir tmp/top/one 5 | exec touch tmp/top/one/foo 6 | exec mkdir tmp/top/two 7 | find_start p {tmp/top -d -mindepth 1 -type d -empty -print} 8 | # exec rm -rf tmp 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/depth-d.xo: -------------------------------------------------------------------------------- 1 | tmp/top/two 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/depth.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec mkdir tmp/top 4 | exec mkdir tmp/top/one 5 | exec touch tmp/top/one/foo 6 | exec mkdir tmp/top/two 7 | find_start p {tmp/top -depth -mindepth 1 -type d -empty -print} 8 | exec rm -rf tmp 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/depth.xo: -------------------------------------------------------------------------------- 1 | tmp/top/two 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/empty.exp: -------------------------------------------------------------------------------- 1 | # tests for -empty 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec true > tmp/empty 5 | exec echo > tmp/notempty 6 | find_start p { tmp -type f -empty } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/empty.xo: -------------------------------------------------------------------------------- 1 | tmp/empty -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-many-rtn-failure.exp: -------------------------------------------------------------------------------- 1 | # POSIX: If the invoked command fails, -exec still returns true if it 2 | # was punctuated with +, because that always returns true. However, 3 | # the program as a whole should return a NON-zero exit status. 4 | find_start f { /tmp -exec false \{\} + -printf "yep\n" -quit } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-many-rtn-failure.xo: -------------------------------------------------------------------------------- 1 | yep 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-many-rtn-success.exp: -------------------------------------------------------------------------------- 1 | # POSIX: If the invoked command succeeds, -exec should return true if 2 | # it was punctuated with +, because that always returns true. However, 3 | # the program as a whole should also return a zero exit status. 4 | find_start p { /tmp -exec true \{\} + -printf "yep\n" -quit } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-many-rtn-success.xo: -------------------------------------------------------------------------------- 1 | yep 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-one-rtn-fail.exp: -------------------------------------------------------------------------------- 1 | # If -exec \; fails, it should return false. The return 2 | # value of find shoudl stil; be 0, unless another error has 3 | # happened. 4 | find_start p { /tmp -exec false \; -o \( -printf "yep\n" -quit \) } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-one-rtn-fail.xo: -------------------------------------------------------------------------------- 1 | yep 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-one-rtn-success.exp: -------------------------------------------------------------------------------- 1 | # POSIX: If the invoked command succeeds, -exec should return true if 2 | # it was punctuated with ; 3 | find_start p { /tmp -exec true \; -printf "yep\n" -quit } 4 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/exec-one-rtn-success.xo: -------------------------------------------------------------------------------- 1 | yep 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-hier.exp: -------------------------------------------------------------------------------- 1 | # tests for -execdir ... \+ 2 | # Specifically, ensure that output for separate directoires is not mixed. 3 | if { [ safe_path ] } { 4 | exec rm -rf tmp 5 | exec mkdir tmp tmp/two 6 | find_start p { tmp -execdir echo \{\} \+ } 7 | exec rm -rf tmp 8 | } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-hier.xo: -------------------------------------------------------------------------------- 1 | ./tmp 2 | ./two 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-in-unreadable.exp: -------------------------------------------------------------------------------- 1 | # tests for -execdir ... \+ in a directory which is not readable 2 | if { [ safe_path ] } { 3 | exec rm -rf tmp 4 | exec mkdir tmp 5 | exec chmod 755 tmp 6 | exec mkdir tmp/sub 7 | exec chmod 300 tmp/sub 8 | find_start p { tmp -maxdepth 1 -execdir true \{\} \+ } 9 | exec chmod 700 tmp/sub 10 | exec rm -rf tmp 11 | } 12 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-multiple.xo: -------------------------------------------------------------------------------- 1 | a ./one 2 | a ./two 3 | a ./three 4 | a ./four 5 | b ./one 6 | b ./two 7 | b ./three 8 | b ./four 9 | c ./one 10 | c ./two 11 | c ./three 12 | c ./four 13 | d ./one 14 | d ./two 15 | d ./three 16 | d ./four 17 | e ./one 18 | e ./two 19 | e ./three 20 | e ./four 21 | f ./one 22 | f ./two 23 | f ./three 24 | f ./four 25 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-one.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | if { [ safe_path ] } { 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/fred tmp/jim 5 | find_start p {tmp -name fred -execdir echo \{\} \; } 6 | exec rm -rf tmp 7 | } 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-one.xo: -------------------------------------------------------------------------------- 1 | ./fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/execdir-root-only.xo: -------------------------------------------------------------------------------- 1 | == / 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/false.exp: -------------------------------------------------------------------------------- 1 | # test for -false. 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/fred/jim 4 | find_start p { tmp -depth -print -false -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/false.xo: -------------------------------------------------------------------------------- 1 | tmp/fred/jim 2 | tmp/fred 3 | tmp 4 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/follow-arg-parent-symlink.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp tmp/dir1 tmp/dir1/dir2 3 | exec touch tmp/dir1/dir2/foo 4 | exec ln -s dir1 tmp/link1 5 | find_start p {tmp/link1/dir2 -type f -print } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/follow-arg-parent-symlink.xo: -------------------------------------------------------------------------------- 1 | tmp/link1/dir2/foo 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/follow-basic.exp: -------------------------------------------------------------------------------- 1 | # Verifies that the -follow option is correctly implemented, 2 | # but does this by using the GNU extension -printf. 3 | exec rm -rf tmp 4 | 5 | exec mkdir tmp 6 | exec ln -s /etc/passwd tmp/LINK 7 | exec ln -s /NOSUCHFILE tmp/BROKEN 8 | 9 | # Links should all be dereferenced unless they are broken. 10 | find_start p { tmp/LINK tmp/BROKEN tmp -follow -printf "%y %d %p\n" } 11 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/follow-basic.xo: -------------------------------------------------------------------------------- 1 | d 0 tmp 2 | f 0 tmp/LINK 3 | f 1 tmp/LINK 4 | l 0 tmp/BROKEN 5 | l 1 tmp/BROKEN 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/fprint-unwritable.exp: -------------------------------------------------------------------------------- 1 | # test for -fprint to unwritable dest (we expect this to fail) 2 | if { ! [ fs_superuser ] } { 3 | exec rm -rf tmp 4 | file mkdir tmp 5 | exec touch tmp/unwritable 6 | exec chmod 444 tmp/unwritable 7 | find_start f { tmp -fprint tmp/unwritable } 8 | exec rm -rf tmp 9 | } 10 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/fprint0_stdout.exp: -------------------------------------------------------------------------------- 1 | # test for -fprint 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start p { tmp -fprint0 /dev/stdout } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/fprint0_stdout.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnu-or.exp: -------------------------------------------------------------------------------- 1 | # test for -false. 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/fred/jim 4 | find_start p { tmp -depth -print -false -or -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnu-or.xo: -------------------------------------------------------------------------------- 1 | tmp/fred/jim 2 | tmp/fred/jim 3 | tmp/fred 4 | tmp/fred 5 | tmp 6 | tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnuand.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -name fred -and -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnuand.xo: -------------------------------------------------------------------------------- 1 | tmp/fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnunot.exp: -------------------------------------------------------------------------------- 1 | # tests for ! 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -not -name fred -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/gnunot.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/jim -------------------------------------------------------------------------------- /find/testsuite/find.gnu/ilname.exp: -------------------------------------------------------------------------------- 1 | # tests for -ilname 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/one 5 | exec ln -s one tmp/two 6 | find_start p {tmp -ilname One -print} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/ilname.xo: -------------------------------------------------------------------------------- 1 | tmp/two 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iname.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -iname frED -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iname.xo: -------------------------------------------------------------------------------- 1 | tmp/fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/inum.exp: -------------------------------------------------------------------------------- 1 | # test for -inum 2 | exec rm -rf tmp tmp2 3 | exec touch tmp tmp2 4 | set list [ split [ exec ls -1i tmp ] ] 5 | set inode [ lindex $list 0 ] 6 | find_start p " tmp tmp2 -inum $inode -print " 7 | exec rm -rf tmp tmp2 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/inum.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/ipath.exp: -------------------------------------------------------------------------------- 1 | # test for -path 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/top tmp/top/ONE tmp/top/ONE/two 4 | find_start p {tmp/top -ipath Tmp/TOP/one -print 2>/dev/null } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/ipath.xo: -------------------------------------------------------------------------------- 1 | tmp/top/ONE 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iregex1.exp: -------------------------------------------------------------------------------- 1 | # test for -iregex 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/d tmp/d/D tmp/d/D/d tmp/d/D/d/e 4 | find_start p {tmp -iregex {tmp\(/d\)*} -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iregex1.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/d 3 | tmp/d/D 4 | tmp/d/D/d 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iwholename.exp: -------------------------------------------------------------------------------- 1 | # test for -iwholename 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/top tmp/top/one tmp/top/one/two 4 | find_start p {tmp/top -iwholename tmP/TOP/One -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/iwholename.xo: -------------------------------------------------------------------------------- 1 | tmp/top/one 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/lname.exp: -------------------------------------------------------------------------------- 1 | # tests for -lname 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/one 5 | exec ln -s one tmp/two 6 | find_start p {tmp -lname one -print} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/lname.xo: -------------------------------------------------------------------------------- 1 | tmp/two 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/mindepth-arg.exp: -------------------------------------------------------------------------------- 1 | # Argument validation for -mindepth and -maxdepth 2 | proc prepare {} { 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/top tmp/top/one 5 | } 6 | foreach predicate { -mindepth -maxdepth } { 7 | find_start p "tmp/top $predicate 0 -print -quit" {} {} prepare 8 | } 9 | exec rm -rf tmp 10 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/mindepth-arg.xo: -------------------------------------------------------------------------------- 1 | tmp/top -------------------------------------------------------------------------------- /find/testsuite/find.gnu/mindepth-badarg.exp: -------------------------------------------------------------------------------- 1 | # Argument validation for -mindepth and -maxdepth 2 | 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/top tmp/top/one 5 | 6 | foreach predicate { -mindepth -maxdepth } { 7 | # Try a variety of bad arguments. 8 | foreach arg { x 0x01 Fnord "" +1 1.2 -3 3e1 } { 9 | find_start f "tmp/top $predicate $arg -quit" 10 | } 11 | } 12 | exec rm -rf tmp 13 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-opt.exp: -------------------------------------------------------------------------------- 1 | # Verifies that -name is not optimized in front of -prune 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec mkdir tmp/top 5 | exec mkdir tmp/top/one 6 | exec touch tmp/top/one/foo 7 | find_start p {tmp/top -prune -name foo} 8 | exec rm -rf tmp 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-opt.xo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/find/testsuite/find.gnu/name-opt.xo -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-period.exp: -------------------------------------------------------------------------------- 1 | # Verifies that -name '*bar' will match quux/.foobar. 2 | # See http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html 3 | # Also see http://savannah.gnu.org/bugs/?func=detailitem&item_id=10757 4 | exec rm -rf tmp 5 | exec mkdir tmp 6 | exec mkdir tmp/top 7 | exec mkdir tmp/top/.one 8 | exec mkdir tmp/top/bane 9 | find_start p {tmp/top -name \*ne -print} 10 | exec rm -rf tmp 11 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-period.xo: -------------------------------------------------------------------------------- 1 | tmp/top/bane 2 | tmp/top/.one 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-slash.exp: -------------------------------------------------------------------------------- 1 | # tests for '-name /' 2 | find_start p {/ /// -maxdepth 0 -name /} 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/name-slash.xo: -------------------------------------------------------------------------------- 1 | / 2 | /// 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/no-fdleak-test.exp: -------------------------------------------------------------------------------- 1 | # Test with the FD leak check turned off. We make this test, just to 2 | # avoid failing to detect problems that only occur when the leak check 3 | # is turned off. 4 | set oldval $env(GNU_FINDUTILS_FD_LEAK_CHECK) 5 | unset env(GNU_FINDUTILS_FD_LEAK_CHECK) 6 | 7 | if { [ safe_path ] } { 8 | exec rm -rf tmp 9 | exec mkdir tmp tmp/fred tmp/jim 10 | find_start p {tmp -name fred -execdir echo \{\} \; } 11 | exec rm -rf tmp 12 | } 13 | set env(GNU_FINDUTILS_FD_LEAK_CHECK) $oldval 14 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/no-fdleak-test.xo: -------------------------------------------------------------------------------- 1 | ./fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/path.exp: -------------------------------------------------------------------------------- 1 | # test for -path 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/top tmp/top/one tmp/top/one/two 4 | find_start p {tmp/top -path tmp/top/one -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/path.xo: -------------------------------------------------------------------------------- 1 | tmp/top/one 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/perm-slash.xo: -------------------------------------------------------------------------------- 1 | p/555 tmp/050 2 | p/555 tmp/555 3 | p/555 tmp/400 4 | p/555 tmp/700 -------------------------------------------------------------------------------- /find/testsuite/find.gnu/perm.exp: -------------------------------------------------------------------------------- 1 | # tests for -perm -0100 (-perm with -) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/fred 5 | exec chmod 444 tmp/fred 6 | find_start p {tmp -perm -0100} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/perm.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/perm000.exp: -------------------------------------------------------------------------------- 1 | # tests for -perm /000 (Savannah bug #14748). 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/fred tmp/wilma 5 | exec chmod 000 tmp/fred 6 | find_start p {tmp -perm /000 -print 2>/dev/null } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/perm000.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/fred 3 | tmp/wilma 4 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-dflt.exp: -------------------------------------------------------------------------------- 1 | # Verifies that the POSIX behaviour without -P or -L options is 2 | # correctly implemented, but does this by using the GNU extension 3 | # -printf. 4 | exec rm -rf tmp 5 | 6 | exec mkdir tmp 7 | exec ln -s /etc/passwd tmp/LINK 8 | exec ln -s /NOSUCHFILE tmp/BROKEN 9 | 10 | find_start p { -P tmp/LINK tmp/BROKEN tmp -printf "%y %d %p\n" } 11 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-dflt.xo: -------------------------------------------------------------------------------- 1 | d 0 tmp 2 | l 0 tmp/BROKEN 3 | l 0 tmp/LINK 4 | l 1 tmp/BROKEN 5 | l 1 tmp/LINK 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-h.exp: -------------------------------------------------------------------------------- 1 | # Verifies that the POSIX -H option is correctly implemented, 2 | # but does this by using the GNU extension -printf. 3 | exec rm -rf tmp 4 | 5 | exec mkdir tmp 6 | exec ln -s /etc/passwd tmp/LINK 7 | exec ln -s /NOSUCHFILE tmp/BROKEN 8 | 9 | # If the file is not on the command line, the link is not 10 | # dereferenced, and so tmp/LINK should appear at depth 1 11 | # but as type "l". tmp itself appears first at depth 0 as 12 | # a directory. 13 | find_start p { -H tmp/LINK tmp/BROKEN tmp -printf "H1: %y %d %p\n" } 14 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-h.xo: -------------------------------------------------------------------------------- 1 | H1: d 0 tmp 2 | H1: f 0 tmp/LINK 3 | H1: l 0 tmp/BROKEN 4 | H1: l 1 tmp/BROKEN 5 | H1: l 1 tmp/LINK 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-l.exp: -------------------------------------------------------------------------------- 1 | # Verifies that the POSIX -L option is correctly implemented, 2 | # but does this by using the GNU extension -printf. 3 | exec rm -rf tmp 4 | 5 | exec mkdir tmp 6 | exec ln -s /etc/passwd tmp/LINK 7 | exec ln -s /NOSUCHFILE tmp/BROKEN 8 | 9 | # Links should all be dereferenced unless they are broken. 10 | find_start p { -L tmp/LINK tmp/BROKEN tmp -printf "%y %d %p\n" } 11 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-l.xo: -------------------------------------------------------------------------------- 1 | d 0 tmp 2 | f 0 tmp/LINK 3 | f 1 tmp/LINK 4 | l 0 tmp/BROKEN 5 | l 1 tmp/BROKEN 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/posix-perminvalid.exp: -------------------------------------------------------------------------------- 1 | # tests for non-POSIX-compliant argument to -perm 2 | # Remember any previous value of POSIXLY_CORRECT (if there was one) 3 | if [info exists env(POSIXLY_CORRECT)] { 4 | set oldval env(POSIXLY_CORRECT) 5 | } 6 | 7 | # Set POSIXLY_CORRECT and perform the test 8 | set env(POSIXLY_CORRECT) 1 9 | find_start f {. -perm +a+x} 10 | 11 | # Set POSIXLY_CORRECT to its previous value 12 | if [info exists oldval] { 13 | set env(POSIXLY_CORRECT) $oldval 14 | } else { 15 | unset env(POSIXLY_CORRECT) 16 | } 17 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/print0.exp: -------------------------------------------------------------------------------- 1 | # test for -print0. 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start p { tmp -print0 } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/print0.xo: -------------------------------------------------------------------------------- 1 | tmp -------------------------------------------------------------------------------- /find/testsuite/find.gnu/print_stdout.exp: -------------------------------------------------------------------------------- 1 | # test for -fprint 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start p { tmp -fprint /dev/stdout } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/print_stdout.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-h.exp: -------------------------------------------------------------------------------- 1 | # Test case for Savannah bug ID #12085. 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start p {tmp -printf "RESULT: %h %f\n" } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-h.xo: -------------------------------------------------------------------------------- 1 | RESULT: . tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-nonlocal-symlink.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec mkdir tmp/foo 4 | exec touch tmp/foo/file 5 | exec ln -s file tmp/foo/LINK 6 | find_start p {tmp -type l -printf "%p: %Y %y\n" } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-nonlocal-symlink.xo: -------------------------------------------------------------------------------- 1 | tmp/foo/LINK: f l 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-slash.exp: -------------------------------------------------------------------------------- 1 | find_start p {/ /// -maxdepth 0 -printf "%p %f\\n"} 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-slash.xo: -------------------------------------------------------------------------------- 1 | / / 2 | /// / 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-symlink.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec touch tmp/file 4 | exec ln -s file tmp/LINK 5 | find_start p {tmp/LINK -printf "RESULT: %y %Y %p\n" -printf "RESULT2: %Y %y %p\n" } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf-symlink.xo: -------------------------------------------------------------------------------- 1 | RESULT: l f tmp/LINK 2 | RESULT2: f l tmp/LINK 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec touch tmp/file 4 | exec chmod 600 tmp/file 5 | find_start p {tmp -type f -printf "a %d\n" -printf "b %f\n" -printf "c %h\n" -printf "d %H\n" -printf "e %l\n" -printf "f %m\n" -printf "g %n\n" -printf "h %p\n" -printf "i %P\n" -printf "j %y\n" -printf "k %Y\n"} 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printf.xo: -------------------------------------------------------------------------------- 1 | a 1 2 | b file 3 | c tmp 4 | d tmp 5 | e 6 | f 600 7 | g 1 8 | h tmp/file 9 | i file 10 | j f 11 | k f 12 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printfHdfl.exp: -------------------------------------------------------------------------------- 1 | # verify that %H with no argument assumes "." 2 | find_start p { -maxdepth 0 -printf "%H" } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/printfHdfl.xo: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/prune-default-print.exp: -------------------------------------------------------------------------------- 1 | # Verifies that default -print is used with -prune 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | find_start p {tmp -prune} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/prune-default-print.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/quit.exp: -------------------------------------------------------------------------------- 1 | # test for -quit. 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/top tmp/top/one tmp/top/one/foo tmp/top/two 4 | find_start p {tmp/top/one tmp/top/two -depth -print -name one -quit } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/quit.xo: -------------------------------------------------------------------------------- 1 | tmp/top/one/foo 2 | tmp/top/one 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/regex1.exp: -------------------------------------------------------------------------------- 1 | # test for -regex 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/d tmp/d/d tmp/d/d/d tmp/d/d/d/e 4 | find_start p {tmp -regex {tmp\(/d\)*} -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/regex1.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/d 3 | tmp/d/d 4 | tmp/d/d/d 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/regex2.exp: -------------------------------------------------------------------------------- 1 | # test for -regex 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/d tmp/d/d tmp/d/d/d tmp/d/d/d/e 4 | find_start p {tmp -regextype posix-extended -regex {tmp(/d)*} -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/regex2.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/d 3 | tmp/d/d 4 | tmp/d/d/d 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-copy.exp: -------------------------------------------------------------------------------- 1 | # test for -samefile 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/one tmp/two 4 | exec touch tmp/file1 tmp/file2 5 | exec cp tmp/file1 tmp/one/link 6 | exec cp tmp/file2 tmp/two/link 7 | find_start p {tmp/one tmp/two -samefile tmp/file1 -print} 8 | # exec rm -rf tmp 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-copy.xo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/find/testsuite/find.gnu/samefile-copy.xo -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-link.exp: -------------------------------------------------------------------------------- 1 | # test for -samefile 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/one tmp/two 4 | exec touch tmp/file1 tmp/file2 5 | exec ln tmp/file1 tmp/one/link 6 | exec ln -s tmp/file1 tmp/one/symlink 7 | exec ln tmp/file2 tmp/two/link 8 | find_start p {tmp/one tmp/two -samefile tmp/file1 -print} 9 | # exec rm -rf tmp 10 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-link.xo: -------------------------------------------------------------------------------- 1 | tmp/one/link 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-missing.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -samefile is missing 2 | find_start f ". -samefile" 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-p-brokenlink.exp: -------------------------------------------------------------------------------- 1 | # test for find -P -samefile with a broken link 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/file1 5 | exec ln tmp/file1 tmp/link 6 | exec ln -s tmp/file1 tmp/symlink 7 | exec ln -s tmp/file2 tmp/broken 8 | exec ln tmp/broken tmp/blink 9 | 10 | find_start p { -P tmp -samefile tmp/broken -print} 11 | exec rm -rf tmp 12 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-p-brokenlink.xo: -------------------------------------------------------------------------------- 1 | tmp/blink 2 | tmp/broken -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-same.exp: -------------------------------------------------------------------------------- 1 | # test for -samefile 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/one tmp/two 4 | exec touch tmp/file 5 | find_start p {tmp tmp/file -samefile tmp/file -print} 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-same.xo: -------------------------------------------------------------------------------- 1 | tmp/file 2 | tmp/file 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-symlink.exp: -------------------------------------------------------------------------------- 1 | # test for -samefile 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/one tmp/two 4 | exec touch tmp/file1 tmp/file2 5 | exec ln tmp/file1 tmp/one/link 6 | exec ln -s ../file1 tmp/one/symlink 7 | exec ln tmp/file2 tmp/two/link 8 | exec ln -s ../file2 tmp/two/symlink 9 | find_start p { -L tmp/one tmp/two -samefile tmp/file1 -print} 10 | # exec rm -rf tmp 11 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/samefile-symlink.xo: -------------------------------------------------------------------------------- 1 | tmp/one/link 2 | tmp/one/symlink 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-12230.exp: -------------------------------------------------------------------------------- 1 | # Bug report by Dmitry V. Levin. 2 | # 3 | # The command: 4 | # find tmp -false -execdir echo == {} + 5 | # Actually produces one line of output. It 6 | # should produce none, because the echo command 7 | # should never be invoked. 8 | # 9 | if { [ safe_path ] } { 10 | exec rm -rf tmp 11 | exec mkdir tmp 12 | find_start p { tmp -false -execdir echo == "{}" + } 13 | exec rm -rf tmp 14 | } 15 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-17477.exp: -------------------------------------------------------------------------------- 1 | # verify that % with no argument fails gracefully 2 | find_start f { -maxdepth 0 -printf "test: %" } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-17490.exp: -------------------------------------------------------------------------------- 1 | # test for Savannah bug #17490 2 | # 3 | # That bug was a coredump if the argument to -regex was the final argument. 4 | find_start p {. -maxdepth 0 -regex x } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-17782.exp: -------------------------------------------------------------------------------- 1 | # Savannah bug #17782. 2 | # While -execdir echo blah {} works, -execdir echo "blah {}" doesn't. 3 | # The bug is that the ./ prefix is prepended to the argument containing the 4 | # braces, not to the expansion of the braces, so you get output like 5 | # ./blah foo 6 | # instead of 7 | # blah ./foo 8 | # 9 | if { [ safe_path ] } { 10 | exec rm -rf tmp 11 | exec mkdir tmp 12 | exec touch tmp/foo 13 | find_start p { tmp -name foo -execdir echo "saw {}" \; } 14 | exec rm -rf tmp 15 | } 16 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-17782.xo: -------------------------------------------------------------------------------- 1 | saw ./foo -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-18222.exp: -------------------------------------------------------------------------------- 1 | # Test for Savannah bug #18222 2 | # 3 | # That bug was a case were the expansion of %H is truncated if the name 4 | # of the second start point is longer than that of the first. 5 | exec rm -rf tmp 6 | exec mkdir tmp 7 | exec touch tmp/short tmp/longer 8 | find_start p { tmp/short tmp/longer -printf "%H\n" } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-18222.xo: -------------------------------------------------------------------------------- 1 | tmp/short 2 | tmp/longer 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-27563-execdir.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 27563 (result of find -L -exec ls {} \;) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/yyyy 5 | find_start p {-L tmp -name yyyy -execdir ls \{\} \; } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/sv-bug-27563-execdir.xo: -------------------------------------------------------------------------------- 1 | ./yyyy 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/true.exp: -------------------------------------------------------------------------------- 1 | # test for -true. 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/fred/jim 4 | find_start p { tmp -depth -print -true -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/true.xo: -------------------------------------------------------------------------------- 1 | tmp/fred/jim 2 | tmp/fred/jim 3 | tmp/fred 4 | tmp/fred 5 | tmp 6 | tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/used-invarg.exp: -------------------------------------------------------------------------------- 1 | # tests for invalid argument to -used 2 | find_start f {. -used ZZ} 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/used-missing.exp: -------------------------------------------------------------------------------- 1 | # tests for missing argument to -used 2 | find_start f {. -used } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/user-invalid.exp: -------------------------------------------------------------------------------- 1 | # tests for invalid argument to -user 2 | foreach user { : "" 14JJ 10.3 -4 } { 3 | find_start f ". -user $user" 4 | } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/wholename.exp: -------------------------------------------------------------------------------- 1 | # test for -wholename 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/top tmp/top/one tmp/top/one/two 4 | find_start p {tmp/top -wholename tmp/top/one -print } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/wholename.xo: -------------------------------------------------------------------------------- 1 | tmp/top/one 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/xtype-symlink.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | exec touch tmp/file 4 | exec ln -s file tmp/LINK 5 | find_start p {tmp/LINK -xtype f } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/xtype-symlink.xo: -------------------------------------------------------------------------------- 1 | tmp/LINK 2 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/xtype.exp: -------------------------------------------------------------------------------- 1 | # checks for the -xtype test. 2 | exec rm -rf tmp 3 | 4 | exec mkdir tmp 5 | exec ln -s /etc/passwd tmp/LINK 6 | exec ln -s /NOSUCHFILE tmp/BROKEN 7 | 8 | find_start p { -H tmp/LINK tmp/BROKEN tmp -xtype l -printf "xtype is l: %p\n" , \! -xtype l -printf "xtype is not l: %p\n" } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.gnu/xtype.xo: -------------------------------------------------------------------------------- 1 | xtype is l: tmp/LINK 2 | xtype is l: tmp/BROKEN 3 | xtype is not l: tmp 4 | xtype is not l: tmp/LINK 5 | xtype is l: tmp/BROKEN 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/and.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -name fred -a -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/and.xo: -------------------------------------------------------------------------------- 1 | tmp/fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/bracket-depth.exp: -------------------------------------------------------------------------------- 1 | exec rm -rf tmp 2 | exec mkdir tmp 3 | # shoud not result in a fatal error. 4 | find_start p { tmp \( -depth \) -false -print } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/depth1.xo: -------------------------------------------------------------------------------- 1 | tmp/1 2 | tmp/1/2 3 | tmp/1/2/20 4 | tmp/1/2/3 5 | tmp/1/2/37 6 | tmp/1/2/54 7 | tmp/1/2/55 8 | tmp/1/2/55/56 9 | tmp/1/2/55/57 10 | tmp/1/2/55/58 11 | tmp/1/2/55/59 12 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/empty-parens.exp: -------------------------------------------------------------------------------- 1 | # empty parentheses should be rejected as being invalid. 2 | find_start f { . \( -\) } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/exec-one.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -name fred -exec echo \{\} \; } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/exec-one.xo: -------------------------------------------------------------------------------- 1 | tmp/fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions1.exp: -------------------------------------------------------------------------------- 1 | set files "\(1 " 2 | 3 | foreach file $files { touch $file } 4 | 5 | # shoud not result in a fatal error. 6 | find_start p { \(1 } 7 | 8 | foreach file $files { file delete -- $file } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions1.xo: -------------------------------------------------------------------------------- 1 | (1 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions2.exp: -------------------------------------------------------------------------------- 1 | set files "!2" 2 | 3 | foreach file $files { touch $file } 4 | 5 | # shoud not result in a fatal error. 6 | find_start p { !2 } 7 | 8 | foreach file $files { file delete -- $file } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions2.xo: -------------------------------------------------------------------------------- 1 | !2 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions3.exp: -------------------------------------------------------------------------------- 1 | set files "\)" 2 | 3 | foreach file $files { touch $file } 4 | 5 | # shoud not result in a fatal error. 6 | find_start p { \) } 7 | 8 | foreach file $files { file delete -- $file } 9 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/files-not-expressions3.xo: -------------------------------------------------------------------------------- 1 | ) 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/group-empty.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -group is empty 2 | find_start f { . -group "" } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/group-missing.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -group is missing 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start f { tmp -group } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/grouping.exp: -------------------------------------------------------------------------------- 1 | # tests for ! 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp \! \( -name fred -o -name tmp \) -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/grouping.xo: -------------------------------------------------------------------------------- 1 | tmp/jim -------------------------------------------------------------------------------- /find/testsuite/find.posix/links.xo: -------------------------------------------------------------------------------- 1 | exactly5 tmp/file2 2 | over5 tmp/file3 3 | under5 tmp/file1 4 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/mtime0.exp: -------------------------------------------------------------------------------- 1 | ## Test for find . -mtime 0 2 | ## This detects Savannah bug #22056, -Xtime tests are off by one second 3 | 4 | exec rm -rf tmp 5 | exec mkdir tmp 6 | # Touch the file in the setup phase, to make sure its mtime is as 7 | # recent as possible. 8 | proc prep {} { exec touch tmp/x } 9 | find_start p { tmp -type f -mtime 0 } "" "" prep 10 | exec rm -rf tmp 11 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/mtime0.xo: -------------------------------------------------------------------------------- 1 | tmp/x 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/name-missing.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -name is missing 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start f { tmp -name } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/name.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp -name fred -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/name.xo: -------------------------------------------------------------------------------- 1 | tmp/fred 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/nameslash.exp: -------------------------------------------------------------------------------- 1 | # tests for -name and trailing slashes. 2 | # See http://www.opengroup.org/austin/interps/uploads/40/14959/AI-186.txt 3 | # This is a test for Savannah bug #20970. 4 | exec rm -rf tmp 5 | exec mkdir tmp tmp/foo tmp/bar 6 | find_start p {tmp/foo/// tmp/bar/// -name foo -o -name 'bar?*'} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/nameslash.xo: -------------------------------------------------------------------------------- 1 | tmp/foo/// 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/parent.exp: -------------------------------------------------------------------------------- 1 | # test for handling of unreadable parent directory 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/dir 4 | exec chmod a-rw tmp 5 | find_start p {tmp/dir} 6 | exec chmod u+rw tmp 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/parent.xo: -------------------------------------------------------------------------------- 1 | tmp/dir 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/perm-X.exp: -------------------------------------------------------------------------------- 1 | # tests for -perm with X 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec chmod 755 tmp 5 | exec true > tmp/empty 6 | exec true > tmp/empty-xxx 7 | exec chmod 711 tmp/empty-xxx 8 | exec mkdir tmp/sub 9 | exec chmod 300 tmp/sub 10 | find_start p { tmp \( ! -name sub -o -prune \) -perm -u+w,a+X -print } 11 | exec chmod 700 tmp/sub 12 | exec rm -rf tmp 13 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/perm-X.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/empty 3 | tmp/empty-xxx 4 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/perm-vanilla.xo: -------------------------------------------------------------------------------- 1 | p400 tmp/400 2 | p-400 tmp/400 3 | p-400 tmp/555 4 | p-400 tmp/700 5 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/posixnot.exp: -------------------------------------------------------------------------------- 1 | # tests for ! 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim 4 | find_start p {tmp \! -name fred -print} 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/posixnot.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/jim -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune-result.exp: -------------------------------------------------------------------------------- 1 | # test for return value of -prune. It should always return true, 2 | # even if -depth is in effect 3 | exec rm -rf tmp 4 | exec mkdir tmp tmp/a 5 | touch tmp/a/f 6 | find_start p {tmp -depth -name a -prune -o -print } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune-result.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/a/f 3 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune-stat.exp: -------------------------------------------------------------------------------- 1 | # tests that -prune gets stat information 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/a 4 | exec touch tmp/b 5 | exec mkdir tmp/c 6 | find_start p {tmp -name b -prune -o -print } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune-stat.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/a 3 | tmp/c 4 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune.exp: -------------------------------------------------------------------------------- 1 | # tests for -name 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/fred tmp/jim tmp/jim/1 tmp/shiela 4 | find_start p {tmp -name jim -prune -o -print } 5 | #exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/prune.xo: -------------------------------------------------------------------------------- 1 | tmp 2 | tmp/fred 3 | tmp/shiela 4 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/size-invalid.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -size is invalid 2 | exec rm -rf tmp 3 | exec touch tmp 4 | foreach size { w b c k m G "" +-1 +-1G 1.2k } { 5 | find_start f " tmp -size $size " 6 | } 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/size-missing.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -size is missing 2 | exec rm -rf tmp 3 | exec touch tmp 4 | find_start f { tmp -size } 5 | exec rm -rf tmp 6 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sizes.xo: -------------------------------------------------------------------------------- 1 | A size -1: 0 tmp/0-bytes 2 | B size 1: 511 tmp/511-bytes 3 | B size 1: 512 tmp/512-bytes 4 | C size +1: 513 tmp/513-bytes 5 | C size +1: 1024 tmp/1024-bytes 6 | H size 2: 513 tmp/513-bytes 7 | H size 2: 1024 tmp/1024-bytes 8 | G size -2: 0 tmp/0-bytes 9 | G size -2: 511 tmp/511-bytes 10 | G size -2: 512 tmp/512-bytes 11 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sizetype.exp: -------------------------------------------------------------------------------- 1 | # tests for -size -type 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec true > tmp/empty 5 | find_start p {tmp -size 0c -type f } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sizetype.xo: -------------------------------------------------------------------------------- 1 | tmp/empty 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-11175.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 11175 (should not check perms of pruned dir) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec mkdir tmp/noxdir 5 | exec chmod 700 tmp 6 | exec chmod 600 tmp/noxdir 7 | #find_start p {tmp/noxdir -prune -type d -print} 8 | find_start p {tmp -name noxdir -prune -type d -print} 9 | exec chmod 700 tmp/noxdir 10 | exec rm -rf tmp 11 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-11175.xo: -------------------------------------------------------------------------------- 1 | tmp/noxdir 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-12181.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 12181 (find -H symlink should work) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec ln -s tmp link 5 | find_start p { -H link} 6 | exec rm -rf tmp link 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-12181.xo: -------------------------------------------------------------------------------- 1 | link 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-15235.exp: -------------------------------------------------------------------------------- 1 | # tests for directory parsing 2 | exec rm -rf \(1 \!2 \, \) 3 | exec mkdir \(1 \!2 \, \) 4 | touch \(1/a \!2/b \,/c \)/d 5 | find_start p {\(1 \!2 \, \)} 6 | exec rm -rf \(1 \!2 \, \) 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-15235.xo: -------------------------------------------------------------------------------- 1 | (1 2 | (1/a 3 | !2 4 | !2/b 5 | , 6 | ,/c 7 | ) 8 | )/d 9 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-19605.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 19605 (Inability of ftsfind to detect symlink loop) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec ln -s a tmp/b 5 | exec ln -s b tmp/a 6 | find_start f {-L tmp -false -print} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-19613.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 19613 ("find -L -type f" fails on symlink loops) 2 | exec rm -rf tmp 3 | exec mkdir tmp tmp/subdir 4 | exec ln -s a tmp/subdir/b 5 | exec ln -s b tmp/subdir/a 6 | 7 | # We want to distinguish between the correct behaviour (error message 8 | # and return 1 because of the loop) and the failure case (assertion 9 | # failure in 4.3.3). To do that we just check that the "tmp/vanilla" 10 | # file is also found. 11 | 12 | touch tmp/vanilla 13 | find_start f { -L tmp -depth -type f} 14 | exec rm -rf tmp 15 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-19613.xo: -------------------------------------------------------------------------------- 1 | tmp/vanilla 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-19617.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 19617 (Inability of ftsfind to detect nonexistent command line args) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | find_start f {-P tmp/nosuchfile -print} 5 | find_start f {-H tmp/nosuchfile -print} 6 | find_start f {-L tmp/nosuchfile -print} 7 | exec rm -rf tmp 8 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-25359.exp: -------------------------------------------------------------------------------- 1 | # Test for Savannah bug 25359 2 | # (ftsfind -H thinks that non-argument symlinks are files) 3 | # Affecting findutils 4 | # from acb82fe44369c108b43ec3e805aa94bf28352d0a 5 | # to 0b1acd3358466b02f32baf9423665113dc933492 6 | exec rm -rf tmp 7 | exec mkdir tmp 8 | exec ln -s / tmp/symlink 9 | find_start p {-H tmp -type l -print} 10 | exec rm -rf tmp 11 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-25359.xo: -------------------------------------------------------------------------------- 1 | tmp/symlink 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-27563-exec.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 27563 (result of find -L -exec ls {} \;) 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec touch tmp/yyyy 5 | find_start p {-L tmp -name yyyy -exec ls \{\} \; } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-27563-exec.xo: -------------------------------------------------------------------------------- 1 | tmp/yyyy 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/sv-bug-30777.exp: -------------------------------------------------------------------------------- 1 | # tests for Savannah bug 30777 (we accept find -exec ls BLAH{} \+ but the result lacks BLAH) 2 | # The correct behaviour is to reject this. 3 | exec rm -rf tmp 4 | exec mkdir tmp 5 | find_start f {tmp -exec ls FOO{} \+ } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/typearg.exp: -------------------------------------------------------------------------------- 1 | # tests for arguments to -type 2 | foreach type { Z ZZ } { 3 | find_start f ". -type $type" 4 | } 5 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/typesize.exp: -------------------------------------------------------------------------------- 1 | # tests for -type -size 2 | exec rm -rf tmp 3 | exec mkdir tmp 4 | exec true > tmp/empty 5 | find_start p {tmp -type f -size 0c } 6 | exec rm -rf tmp 7 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/typesize.xo: -------------------------------------------------------------------------------- 1 | tmp/empty 2 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/user-empty.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -user is empty 2 | find_start f { . -user "" } 3 | -------------------------------------------------------------------------------- /find/testsuite/find.posix/user-missing.exp: -------------------------------------------------------------------------------- 1 | # test for diagnosis of the fact that the argument to -user is missing 2 | find_start f { tmp -user } 3 | -------------------------------------------------------------------------------- /gnulib/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2004, 2009 Free Software Foundation, Inc. 2 | # 3 | # This file is free software, distributed under the terms of the GNU 4 | # General Public License. As a special exception to the GNU General 5 | # Public License, this file may be distributed as part of a program 6 | # that contains a configuration script generated by Automake, under 7 | # the same distribution terms as the rest of that program. 8 | # 9 | # This file was generated by import-gnulib.sh . 10 | # 11 | SUBDIRS = lib 12 | EXTRA_DIST = m4/gnulib-cache.m4 13 | -------------------------------------------------------------------------------- /gnulib/lib/close-stream.h: -------------------------------------------------------------------------------- 1 | #include 2 | int close_stream (FILE *stream); 3 | -------------------------------------------------------------------------------- /gnulib/lib/dev-ino.h: -------------------------------------------------------------------------------- 1 | #ifndef DEV_INO_H 2 | # define DEV_INO_H 1 3 | 4 | # include 5 | # include 6 | 7 | struct dev_ino 8 | { 9 | ino_t st_ino; 10 | dev_t st_dev; 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /gnulib/lib/fchown-stub.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | #include 5 | 6 | /* A trivial substitute for `fchown'. 7 | 8 | DJGPP 2.03 and earlier (and perhaps later) don't have `fchown', 9 | so we pretend no-one has permission for this operation. */ 10 | 11 | int 12 | fchown (int fd, uid_t uid, gid_t gid) 13 | { 14 | errno = EPERM; 15 | return -1; 16 | } 17 | -------------------------------------------------------------------------------- /gnulib/lib/file-set.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "hash.h" 6 | 7 | extern void record_file (Hash_table *ht, char const *file, 8 | struct stat const *stats) 9 | __attribute__ ((nonnull (2, 3))); 10 | 11 | extern bool seen_file (Hash_table const *ht, char const *file, 12 | struct stat const *stats); 13 | -------------------------------------------------------------------------------- /gnulib/lib/idcache.h: -------------------------------------------------------------------------------- 1 | #ifndef IDCACHE_H 2 | # define IDCACHE_H 1 3 | 4 | # include 5 | 6 | extern char *getuser (uid_t uid); 7 | extern char *getgroup (gid_t gid); 8 | extern uid_t *getuidbyname (const char *user); 9 | extern gid_t *getgidbyname (const char *group); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /gnulib/lib/malloca.valgrind: -------------------------------------------------------------------------------- 1 | # Suppress a valgrind message about use of uninitialized memory in freea(). 2 | # This use is OK because it provides only a speedup. 3 | { 4 | freea 5 | Memcheck:Cond 6 | fun:freea 7 | } 8 | -------------------------------------------------------------------------------- /gnulib/lib/memchr.valgrind: -------------------------------------------------------------------------------- 1 | # Suppress a valgrind message about use of uninitialized memory in memchr(). 2 | # POSIX states that when the character is found, memchr must not read extra 3 | # bytes in an overestimated length (for example, where memchr is used to 4 | # implement strnlen). However, we use a safe word read to provide a speedup. 5 | { 6 | memchr-value4 7 | Memcheck:Value4 8 | fun:rpl_memchr 9 | } 10 | { 11 | memchr-value8 12 | Memcheck:Value8 13 | fun:rpl_memchr 14 | } 15 | -------------------------------------------------------------------------------- /gnulib/lib/mktime-internal.h: -------------------------------------------------------------------------------- 1 | #include 2 | time_t mktime_internal (struct tm *, 3 | struct tm * (*) (time_t const *, struct tm *), 4 | time_t *); 5 | -------------------------------------------------------------------------------- /gnulib/lib/stat-macros.h: -------------------------------------------------------------------------------- 1 | /* All the mode bits that can be affected by chmod. */ 2 | #define CHMOD_MODE_BITS \ 3 | (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) 4 | -------------------------------------------------------------------------------- /gnulib/lib/strtoumax.c: -------------------------------------------------------------------------------- 1 | #define UNSIGNED 1 2 | #include "strtoimax.c" 3 | -------------------------------------------------------------------------------- /gnulib/lib/xstrtoul.c: -------------------------------------------------------------------------------- 1 | #define __strtol strtoul 2 | #define __strtol_t unsigned long int 3 | #define __xstrtol xstrtoul 4 | #define STRTOL_T_MINIMUM 0 5 | #define STRTOL_T_MAXIMUM ULONG_MAX 6 | #include "xstrtol.c" 7 | -------------------------------------------------------------------------------- /gnulib/lib/xstrtoumax.c: -------------------------------------------------------------------------------- 1 | #define __strtol strtoumax 2 | #define __strtol_t uintmax_t 3 | #define __xstrtol xstrtoumax 4 | #define STRTOL_T_MINIMUM 0 5 | #define STRTOL_T_MAXIMUM UINTMAX_MAX 6 | #include "xstrtol.c" 7 | -------------------------------------------------------------------------------- /gnulib/m4/argmatch.m4: -------------------------------------------------------------------------------- 1 | #serial 3 2 | dnl Copyright (C) 2005-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_ARGMATCH], 8 | [ 9 | AC_LIBOBJ([argmatch]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/cloexec.m4: -------------------------------------------------------------------------------- 1 | #serial 6 2 | dnl Copyright (C) 2004-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_CLOEXEC], 8 | [ 9 | AC_LIBOBJ([cloexec]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/close-stream.m4: -------------------------------------------------------------------------------- 1 | #serial 3 2 | dnl Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_CLOSE_STREAM], 8 | [ 9 | AC_LIBOBJ([close-stream]) 10 | 11 | dnl Prerequisites of lib/close-stream.c. 12 | : 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/closein.m4: -------------------------------------------------------------------------------- 1 | # closein.m4 serial 1 2 | dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_CLOSEIN], 8 | [ 9 | AC_LIBOBJ([closein]) 10 | 11 | dnl Prerequisites of lib/closein.c. 12 | : 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/closeout.m4: -------------------------------------------------------------------------------- 1 | # closeout.m4 serial 5 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_CLOSEOUT], 9 | [ 10 | AC_LIBOBJ([closeout]) 11 | 12 | dnl Prerequisites of lib/closeout.c. 13 | : 14 | ]) 15 | -------------------------------------------------------------------------------- /gnulib/m4/cycle-check.m4: -------------------------------------------------------------------------------- 1 | #serial 5 2 | dnl Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_CYCLE_CHECK], 8 | [ 9 | AC_REQUIRE([AC_C_INLINE]) 10 | AC_LIBOBJ([cycle-check]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/dirent-safer.m4: -------------------------------------------------------------------------------- 1 | #serial 1 2 | dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_DIRENT_SAFER], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([fdopendir]) 10 | AC_LIBOBJ([opendir-safer]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/fclose.m4: -------------------------------------------------------------------------------- 1 | # fclose.m4 serial 2 2 | dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_FCLOSE], 8 | [ 9 | ]) 10 | 11 | AC_DEFUN([gl_REPLACE_FCLOSE], 12 | [ 13 | AC_REQUIRE([gl_STDIO_H_DEFAULTS]) 14 | REPLACE_FCLOSE=1 15 | AC_LIBOBJ([fclose]) 16 | ]) 17 | -------------------------------------------------------------------------------- /gnulib/m4/filemode.m4: -------------------------------------------------------------------------------- 1 | # filemode.m4 serial 7 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FILEMODE], 8 | [ 9 | AC_REQUIRE([AC_STRUCT_ST_DM_MODE]) 10 | AC_LIBOBJ([filemode]) 11 | AC_CHECK_DECLS_ONCE([strmode]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/freading.m4: -------------------------------------------------------------------------------- 1 | # freading.m4 serial 1 2 | dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_FREADING], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([__freading]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/getugroups.m4: -------------------------------------------------------------------------------- 1 | # getugroups.m4 serial 8 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_GETUGROUPS], 9 | [ 10 | AC_LIBOBJ([getugroups]) 11 | AC_CHECK_HEADERS_ONCE([grp.h]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/hash.m4: -------------------------------------------------------------------------------- 1 | # hash.m4 serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_HASH], 9 | [ 10 | AC_LIBOBJ([hash]) 11 | 12 | dnl Prerequisites of lib/hash.c. 13 | AC_REQUIRE([AM_STDBOOL_H]) 14 | ]) 15 | -------------------------------------------------------------------------------- /gnulib/m4/human.m4: -------------------------------------------------------------------------------- 1 | #serial 10 2 | dnl Copyright (C) 2002-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_HUMAN], 8 | [ 9 | AC_LIBOBJ([human]) 10 | 11 | dnl Prerequisites of lib/human.c. 12 | : 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/i-ring.m4: -------------------------------------------------------------------------------- 1 | # serial 1 2 | dnl Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_I_RING], 8 | [ 9 | AC_LIBOBJ([i-ring]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/idcache.m4: -------------------------------------------------------------------------------- 1 | # idcache.m4 serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_IDCACHE], 9 | [ 10 | AC_LIBOBJ([idcache]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/localename.m4: -------------------------------------------------------------------------------- 1 | # localename.m4 serial 2 2 | dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_LOCALENAME], 8 | [ 9 | AC_REQUIRE([gt_LC_MESSAGES]) 10 | AC_REQUIRE([gt_INTL_MACOSX]) 11 | AC_CHECK_FUNCS([setlocale uselocale]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/mbchar.m4: -------------------------------------------------------------------------------- 1 | # mbchar.m4 serial 8 2 | dnl Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl autoconf tests required for use of mbchar.m4 8 | dnl From Bruno Haible. 9 | 10 | AC_DEFUN([gl_MBCHAR], 11 | [ 12 | AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) 13 | AC_REQUIRE([AC_C_INLINE]) 14 | ]) 15 | -------------------------------------------------------------------------------- /gnulib/m4/mbiter.m4: -------------------------------------------------------------------------------- 1 | # mbiter.m4 serial 6 2 | dnl Copyright (C) 2005, 2008-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl autoconf tests required for use of mbiter.h 8 | dnl From Bruno Haible. 9 | 10 | AC_DEFUN([gl_MBITER], 11 | [ 12 | AC_REQUIRE([AC_C_INLINE]) 13 | AC_REQUIRE([AC_TYPE_MBSTATE_T]) 14 | : 15 | ]) 16 | -------------------------------------------------------------------------------- /gnulib/m4/mbslen.m4: -------------------------------------------------------------------------------- 1 | # mbslen.m4 serial 2 2 | dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_MBSLEN], 8 | [ 9 | AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) 10 | AC_CHECK_FUNCS_ONCE([mbslen]) 11 | if test $ac_cv_func_mbslen = yes; then 12 | HAVE_MBSLEN=1 13 | else 14 | HAVE_MBSLEN=0 15 | fi 16 | ]) 17 | -------------------------------------------------------------------------------- /gnulib/m4/mgetgroups.m4: -------------------------------------------------------------------------------- 1 | #serial 4 2 | dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_MGETGROUPS], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([getgrouplist]) 10 | AC_LIBOBJ([mgetgroups]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/modechange.m4: -------------------------------------------------------------------------------- 1 | # modechange.m4 serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_MODECHANGE], 9 | [ 10 | AC_LIBOBJ([modechange]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/pathmax.m4: -------------------------------------------------------------------------------- 1 | # pathmax.m4 serial 8 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_PATHMAX], 9 | [ 10 | dnl Prerequisites of lib/pathmax.h. 11 | AC_CHECK_FUNCS_ONCE([pathconf]) 12 | AC_CHECK_HEADERS_ONCE([sys/param.h]) 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/priv-set.m4: -------------------------------------------------------------------------------- 1 | # serial 7 2 | 3 | # Copyright (C) 2009-2011 Free Software Foundation, Inc. 4 | # 5 | # This file is free software; the Free Software Foundation 6 | # gives unlimited permission to copy and/or distribute it, 7 | # with or without modifications, as long as this notice is preserved. 8 | 9 | # Written by David Bartley. 10 | 11 | AC_DEFUN([gl_PRIV_SET], 12 | [ 13 | AC_REQUIRE([AC_C_INLINE]) 14 | AC_CHECK_FUNCS([getppriv]) 15 | AC_CHECK_HEADERS_ONCE([priv.h]) 16 | ]) 17 | -------------------------------------------------------------------------------- /gnulib/m4/quote.m4: -------------------------------------------------------------------------------- 1 | # quote.m4 serial 5 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_QUOTE], 9 | [ 10 | AC_LIBOBJ([quote]) 11 | 12 | dnl Prerequisites of lib/quote.c. 13 | dnl (none) 14 | ]) 15 | -------------------------------------------------------------------------------- /gnulib/m4/quotearg.m4: -------------------------------------------------------------------------------- 1 | # quotearg.m4 serial 8 2 | dnl Copyright (C) 2002, 2004-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_QUOTEARG], 8 | [ 9 | AC_LIBOBJ([quotearg]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/same.m4: -------------------------------------------------------------------------------- 1 | #serial 8 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_SAME], 9 | [ 10 | AC_LIBOBJ([same]) 11 | 12 | dnl Prerequisites of lib/same.c. 13 | AC_REQUIRE([AC_SYS_LONG_FILE_NAMES]) 14 | AC_CHECK_FUNCS_ONCE([pathconf]) 15 | ]) 16 | -------------------------------------------------------------------------------- /gnulib/m4/save-cwd.m4: -------------------------------------------------------------------------------- 1 | # serial 9 2 | dnl Copyright (C) 2002-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_SAVE_CWD], 8 | [ 9 | AC_LIBOBJ([save-cwd]) 10 | dnl Prerequisites for lib/save-cwd.c. 11 | AC_CHECK_FUNCS_ONCE([fchdir]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/savedir.m4: -------------------------------------------------------------------------------- 1 | # savedir.m4 serial 9 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_SAVEDIR], 9 | [ 10 | AC_LIBOBJ([savedir]) 11 | ]) 12 | -------------------------------------------------------------------------------- /gnulib/m4/strtol.m4: -------------------------------------------------------------------------------- 1 | # strtol.m4 serial 5 2 | dnl Copyright (C) 2002-2003, 2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRTOL], 8 | [ 9 | AC_REPLACE_FUNCS([strtol]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/strtoul.m4: -------------------------------------------------------------------------------- 1 | # strtoul.m4 serial 4 2 | dnl Copyright (C) 2002, 2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRTOUL], 8 | [ 9 | AC_REPLACE_FUNCS([strtoul]) 10 | ]) 11 | -------------------------------------------------------------------------------- /gnulib/m4/timespec.m4: -------------------------------------------------------------------------------- 1 | #serial 14 2 | 3 | # Copyright (C) 2000-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc. 4 | 5 | # This file is free software; the Free Software Foundation 6 | # gives unlimited permission to copy and/or distribute it, 7 | # with or without modifications, as long as this notice is preserved. 8 | 9 | dnl From Jim Meyering 10 | 11 | AC_DEFUN([gl_TIMESPEC], 12 | [ 13 | dnl Prerequisites of lib/timespec.h. 14 | AC_REQUIRE([AC_C_INLINE]) 15 | ]) 16 | -------------------------------------------------------------------------------- /gnulib/m4/unistd-safer.m4: -------------------------------------------------------------------------------- 1 | #serial 8 2 | dnl Copyright (C) 2002, 2005-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_UNISTD_SAFER], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([pipe]) 10 | AC_LIBOBJ([dup-safer]) 11 | AC_LIBOBJ([fd-safer]) 12 | AC_LIBOBJ([pipe-safer]) 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/xgetcwd.m4: -------------------------------------------------------------------------------- 1 | #serial 6 2 | dnl Copyright (C) 2002-2006, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XGETCWD], 8 | [ 9 | AC_LIBOBJ([xgetcwd]) 10 | 11 | AC_REQUIRE([gl_FUNC_GETCWD]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/xsize.m4: -------------------------------------------------------------------------------- 1 | # xsize.m4 serial 4 2 | dnl Copyright (C) 2003-2004, 2008-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSIZE], 8 | [ 9 | dnl Prerequisites of lib/xsize.h. 10 | AC_REQUIRE([gl_SIZE_MAX]) 11 | AC_REQUIRE([AC_C_INLINE]) 12 | AC_CHECK_HEADERS([stdint.h]) 13 | ]) 14 | -------------------------------------------------------------------------------- /gnulib/m4/xstrndup.m4: -------------------------------------------------------------------------------- 1 | # xstrndup.m4 serial 2 2 | dnl Copyright (C) 2003, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSTRNDUP], 8 | [ 9 | gl_PREREQ_XSTRNDUP 10 | ]) 11 | 12 | # Prerequisites of lib/xstrndup.c. 13 | AC_DEFUN([gl_PREREQ_XSTRNDUP], [ 14 | : 15 | ]) 16 | -------------------------------------------------------------------------------- /gnulib/m4/xstrtod.m4: -------------------------------------------------------------------------------- 1 | #serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | # Prerequisites of lib/xstrtod.c. 9 | AC_DEFUN([gl_XSTRTOD], 10 | [ 11 | AC_LIBOBJ([xstrtod]) 12 | ]) 13 | 14 | # Prerequisites of lib/xstrtold.c. 15 | AC_DEFUN([gl_XSTRTOLD], 16 | [ 17 | AC_LIBOBJ([xstrtold]) 18 | ]) 19 | -------------------------------------------------------------------------------- /gnulib/m4/xstrtol.m4: -------------------------------------------------------------------------------- 1 | #serial 10 2 | dnl Copyright (C) 2002-2007, 2009-2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSTRTOL], 8 | [ 9 | AC_LIBOBJ([xstrtol]) 10 | AC_LIBOBJ([xstrtoul]) 11 | AC_LIBOBJ([xstrtol-error]) 12 | ]) 13 | -------------------------------------------------------------------------------- /gnulib/m4/yesno.m4: -------------------------------------------------------------------------------- 1 | # yesno.m4 serial 5 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_YESNO], 9 | [ 10 | AC_LIBOBJ([yesno]) 11 | 12 | dnl No prerequisites of lib/yesno.c. 13 | : 14 | ]) 15 | -------------------------------------------------------------------------------- /lib/.cvsignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | regexprops 5 | gnulib-version.c 6 | buildcmd.o 7 | dircallback.o 8 | extendbuf.o 9 | fdleak.o 10 | findutils-version.o 11 | forcefindlib.o 12 | gnulib-version.o 13 | libfind.a 14 | listfile.o 15 | nextelem.o 16 | printquoted.o 17 | qmark.o 18 | regexprops.o 19 | regextype.o 20 | safe-atoi.o 21 | savedirinfo.o 22 | -------------------------------------------------------------------------------- /lib/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | regexprops 5 | gnulib-version.c 6 | buildcmd.o 7 | dircallback.o 8 | extendbuf.o 9 | fdleak.o 10 | findutils-version.o 11 | forcefindlib.o 12 | gnulib-version.o 13 | listfile.o 14 | nextelem.o 15 | printquoted.o 16 | qmark.o 17 | regextype.o 18 | safe-atoi.o 19 | savedirinfo.o 20 | libfind.a 21 | regexprops.o 22 | -------------------------------------------------------------------------------- /lib/gnulib-version.c: -------------------------------------------------------------------------------- 1 | /* This file is automatically generated by import-gnulib.sh and simply records which version of gnulib we used. */ 2 | const char * const gnulib_version = "25d7f3a59bfdc7aaca4a016f687826883a55bef3"; 3 | -------------------------------------------------------------------------------- /locate/.cvsignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | bigram 5 | code 6 | config.h.in 7 | dblocation.texi 8 | frcode 9 | locate 10 | updatedb 11 | -------------------------------------------------------------------------------- /locate/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | bigram 5 | code 6 | config.h.in 7 | frcode 8 | locate 9 | updatedb 10 | *~ 11 | bigram.o 12 | code.o 13 | frcode.o 14 | locate.o 15 | word_io.o 16 | dblocation.texi 17 | -------------------------------------------------------------------------------- /locate/testsuite/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | locate.log 4 | locate.sum 5 | site.exp 6 | -------------------------------------------------------------------------------- /locate/testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | locate.log 4 | locate.sum 5 | site.exp 6 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/bigendian.exp: -------------------------------------------------------------------------------- 1 | # Make sure we can read a big-endian old-format database. 2 | locate_from_db p "-r ." "locateddb.old.powerpc.xi" 3 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exceedshort.exp: -------------------------------------------------------------------------------- 1 | # check frcode correctly encodes paths that have more than 2^16 characters in common 2 | set fmt "%0*d\n%0*d\n" 3 | set match [format $fmt 32768 0 32769 0] 4 | locate_textonly p 0 "$match" "-i 00" "$match" 5 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists1.exp: -------------------------------------------------------------------------------- 1 | # tests for -e: make sure we print a file if it exists. 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred 7 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -e fred" {} 8 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists1.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists2.exp: -------------------------------------------------------------------------------- 1 | # tests for -e: make sure we do not print a file if it does not exist. 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred1 7 | exec touch $tmp/subdir/fred2 8 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -e fred" {} {} { exec rm "tmp/subdir/fred2" } 9 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists2.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred1 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists3.exp: -------------------------------------------------------------------------------- 1 | # tests for -e: make sure we do not print a file if it does not exist. 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred1 7 | exec touch $tmp/subdir/fred2 8 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -e fred" {} {} { exec rm "tmp/subdir/fred1" } 9 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/exists3.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred2 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case1.exp: -------------------------------------------------------------------------------- 1 | # tests to determine if "-i" causes the match to ignore the case 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred 7 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -i FRed" {} 8 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case1.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case2.exp: -------------------------------------------------------------------------------- 1 | # tests to determine if "-i" causes the match to ignore the case 2 | # make sure that match fails when "-i" is skipped 3 | exec rm -rf tmp 4 | exec mkdir tmp 5 | exec mkdir tmp/subdir 6 | exec touch tmp/subdir/fred 7 | locate_start f {--changecwd=. --output=tmp/locatedb --localpaths=tmp/subdir/} {--database=tmp/locatedb FRed} {} 8 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case2.xo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/locate/testsuite/locate.gnu/ignore_case2.xo -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case3.exp: -------------------------------------------------------------------------------- 1 | # tests to determine if "-i" causes the match to ignore the case 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred 7 | locate_start p {--changecwd=. --output=tmp/locatedb --localpaths=tmp/subdir/} {--database=tmp/locatedb fred} {} 8 | #updatedb --output=locatedb 9 | #locate --database=locatedb FRed 10 | #locate --database=locatedb -i FRed 11 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/ignore_case3.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/littleendian.exp: -------------------------------------------------------------------------------- 1 | # Make sure we can read a little-endian old-format database. 2 | locate_from_db p "-r ." "locateddb.old.x86.xi" 3 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/locateddb.old.powerpc.xi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/locate/testsuite/locate.gnu/locateddb.old.powerpc.xi -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/locateddb.old.x86.xi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/locate/testsuite/locate.gnu/locateddb.old.x86.xi -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists1.exp: -------------------------------------------------------------------------------- 1 | # tests for -E: make sure we don't print a file if it exists. 2 | # Since there are no matches in this case, we expect a nonzero 3 | # return value as well. 4 | set tmp "tmp" 5 | exec rm -rf $tmp 6 | exec mkdir $tmp 7 | exec mkdir $tmp/subdir 8 | exec touch $tmp/subdir/fred 9 | locate_start f "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -E fred" {} 10 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists1.xo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/locate/testsuite/locate.gnu/notexists1.xo -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists2.exp: -------------------------------------------------------------------------------- 1 | # tests for -E: make sure we do print a file if it does not exist. 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred1 7 | exec touch $tmp/subdir/fred2 8 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -E fred" {} {} { exec rm "tmp/subdir/fred2" } 9 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists2.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred2 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists3.exp: -------------------------------------------------------------------------------- 1 | # tests for -E: make sure we do not print a file if it does not exist. 2 | set tmp "tmp" 3 | exec rm -rf $tmp 4 | exec mkdir $tmp 5 | exec mkdir $tmp/subdir 6 | exec touch $tmp/subdir/fred1 7 | exec touch $tmp/subdir/fred2 8 | locate_start p "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -E fred" {} {} { exec rm "tmp/subdir/fred1" } 9 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/notexists3.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir/fred1 2 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/old_prefix.xo: -------------------------------------------------------------------------------- 1 | tmp/subdir 2 | tmp/subdir/________________________________________________________________________________fred1 3 | tmp/subdir/________________________________________________________________________________fred2 4 | tmp/subdir/________________________________________________________________________________fred3 5 | tmp/subdir/________________________________________________________________________________fred4 6 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/regex1.exp: -------------------------------------------------------------------------------- 1 | # regular expression tests 2 | locate_textonly p 0 "/\n" "?" "/\n" 3 | locate_textonly p 1 "/\n" "-r ." "/\n" 4 | locate_textonly p 2 "/" "-r X" "" 5 | locate_textonly p 3 "/\n/bin" "-r n" "/bin\n" 6 | locate_textonly p 4 "/\n/bin" "-i -r BIN" "/bin\n" 7 | locate_textonly p 5 "/\n/bin\n/binary" "-r bin\$" "/bin\n" 8 | locate_textonly p 6 "/\n/bin\n/binary" {-r ^\[^/\]} "" 9 | locate_textonly p 7 "/\n/bin\n/binary" {-r ^\[^X\]} "/\n/bin\n/binary\n" 10 | -------------------------------------------------------------------------------- /locate/testsuite/locate.gnu/space1st.exp: -------------------------------------------------------------------------------- 1 | # check frcode handles space as first character 2 | locate_textonly p 0 " fred\n" "-i fred" " fred\n" 3 | -------------------------------------------------------------------------------- /m4/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | -------------------------------------------------------------------------------- /m4/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | -------------------------------------------------------------------------------- /m4/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = findlib.m4 nullsort.m4 order-bad.bin order-good.bin withfts.m4 2 | -------------------------------------------------------------------------------- /m4/order-bad.bin: -------------------------------------------------------------------------------- 1 | defabc -------------------------------------------------------------------------------- /m4/order-good.bin: -------------------------------------------------------------------------------- 1 | abcdef -------------------------------------------------------------------------------- /po/.cvsignore: -------------------------------------------------------------------------------- 1 | *.gmo 2 | Makefile 3 | Makefile.in 4 | POTFILES 5 | cat-id-tbl.c 6 | stamp-po 7 | remove-potcdate.sed 8 | -------------------------------------------------------------------------------- /po/.gitignore: -------------------------------------------------------------------------------- 1 | *.gmo 2 | Makefile 3 | Makefile.in 4 | Makefile.in.in 5 | POTFILES 6 | cat-id-tbl.c 7 | stamp-po 8 | -------------------------------------------------------------------------------- /po/ChangeLog: -------------------------------------------------------------------------------- 1 | 2013-06-07 gettextize 2 | 3 | * Makefile.in.in: Upgrade to gettext-0.18.2. 4 | * Rules-quot: Upgrade to gettext-0.18.2. 5 | 6 | -------------------------------------------------------------------------------- /po/be.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/be.gmo -------------------------------------------------------------------------------- /po/bg.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/bg.gmo -------------------------------------------------------------------------------- /po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /po/ca.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ca.gmo -------------------------------------------------------------------------------- /po/cs.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/cs.gmo -------------------------------------------------------------------------------- /po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/da.gmo -------------------------------------------------------------------------------- /po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/de.gmo -------------------------------------------------------------------------------- /po/de.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/de.po -------------------------------------------------------------------------------- /po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/el.gmo -------------------------------------------------------------------------------- /po/eo.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/eo.gmo -------------------------------------------------------------------------------- /po/eo.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/eo.po -------------------------------------------------------------------------------- /po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/es.gmo -------------------------------------------------------------------------------- /po/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/es.po -------------------------------------------------------------------------------- /po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/et.gmo -------------------------------------------------------------------------------- /po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/et.po -------------------------------------------------------------------------------- /po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/fi.gmo -------------------------------------------------------------------------------- /po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/fr.gmo -------------------------------------------------------------------------------- /po/fr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/fr.po -------------------------------------------------------------------------------- /po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ga.gmo -------------------------------------------------------------------------------- /po/gl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/gl.gmo -------------------------------------------------------------------------------- /po/gl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/gl.po -------------------------------------------------------------------------------- /po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/hr.gmo -------------------------------------------------------------------------------- /po/hr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/hr.po -------------------------------------------------------------------------------- /po/hu.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/hu.gmo -------------------------------------------------------------------------------- /po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/id.gmo -------------------------------------------------------------------------------- /po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/it.gmo -------------------------------------------------------------------------------- /po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ja.gmo -------------------------------------------------------------------------------- /po/ko.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ko.gmo -------------------------------------------------------------------------------- /po/ko.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ko.po -------------------------------------------------------------------------------- /po/lg.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/lg.gmo -------------------------------------------------------------------------------- /po/lt.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/lt.gmo -------------------------------------------------------------------------------- /po/ms.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ms.gmo -------------------------------------------------------------------------------- /po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/nl.gmo -------------------------------------------------------------------------------- /po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/pl.gmo -------------------------------------------------------------------------------- /po/pl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/pl.po -------------------------------------------------------------------------------- /po/pt.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/pt.gmo -------------------------------------------------------------------------------- /po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/pt_BR.gmo -------------------------------------------------------------------------------- /po/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/pt_BR.po -------------------------------------------------------------------------------- /po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ro.gmo -------------------------------------------------------------------------------- /po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ro.po -------------------------------------------------------------------------------- /po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/ru.gmo -------------------------------------------------------------------------------- /po/rw.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/rw.gmo -------------------------------------------------------------------------------- /po/sk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/sk.gmo -------------------------------------------------------------------------------- /po/sl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/sl.gmo -------------------------------------------------------------------------------- /po/sr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/sr.gmo -------------------------------------------------------------------------------- /po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/sv.gmo -------------------------------------------------------------------------------- /po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/tr.gmo -------------------------------------------------------------------------------- /po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/uk.gmo -------------------------------------------------------------------------------- /po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/vi.gmo -------------------------------------------------------------------------------- /po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/zh_CN.gmo -------------------------------------------------------------------------------- /po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/po/zh_TW.gmo -------------------------------------------------------------------------------- /stamp-h.in: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /tests/accept.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/accept.c -------------------------------------------------------------------------------- /tests/at-func.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/at-func.c -------------------------------------------------------------------------------- /tests/binary-io.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/binary-io.c -------------------------------------------------------------------------------- /tests/bind.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/bind.c -------------------------------------------------------------------------------- /tests/connect.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/connect.c -------------------------------------------------------------------------------- /tests/fdopen.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/fdopen.c -------------------------------------------------------------------------------- /tests/fpucw.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/fpucw.h -------------------------------------------------------------------------------- /tests/ftruncate.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/ftruncate.c -------------------------------------------------------------------------------- /tests/imaxtostr.c: -------------------------------------------------------------------------------- 1 | #define anytostr imaxtostr 2 | #define inttype intmax_t 3 | #include "anytostr.c" 4 | -------------------------------------------------------------------------------- /tests/inet_pton.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/inet_pton.c -------------------------------------------------------------------------------- /tests/infinity.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/infinity.h -------------------------------------------------------------------------------- /tests/inttostr.c: -------------------------------------------------------------------------------- 1 | #define anytostr inttostr 2 | #define inttype int 3 | #include "anytostr.c" 4 | -------------------------------------------------------------------------------- /tests/ioctl.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/ioctl.c -------------------------------------------------------------------------------- /tests/listen.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/listen.c -------------------------------------------------------------------------------- /tests/minus-zero.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/minus-zero.h -------------------------------------------------------------------------------- /tests/nan.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/nan.h -------------------------------------------------------------------------------- /tests/nanosleep.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/nanosleep.c -------------------------------------------------------------------------------- /tests/offtostr.c: -------------------------------------------------------------------------------- 1 | #define anytostr offtostr 2 | #define inttype off_t 3 | #include "anytostr.c" 4 | -------------------------------------------------------------------------------- /tests/raise.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/raise.c -------------------------------------------------------------------------------- /tests/randomd.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/randomd.c -------------------------------------------------------------------------------- /tests/rmdir.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/rmdir.c -------------------------------------------------------------------------------- /tests/setsockopt.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/setsockopt.c -------------------------------------------------------------------------------- /tests/sig-handler.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sig-handler.c -------------------------------------------------------------------------------- /tests/sig-handler.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sig-handler.h -------------------------------------------------------------------------------- /tests/sigaction.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sigaction.c -------------------------------------------------------------------------------- /tests/signal.in.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/signal.in.h -------------------------------------------------------------------------------- /tests/sigprocmask.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sigprocmask.c -------------------------------------------------------------------------------- /tests/socket.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/socket.c -------------------------------------------------------------------------------- /tests/sockets.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sockets.c -------------------------------------------------------------------------------- /tests/sockets.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sockets.h -------------------------------------------------------------------------------- /tests/statat.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/statat.c -------------------------------------------------------------------------------- /tests/sys_socket.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/sys_socket.c -------------------------------------------------------------------------------- /tests/test-accept.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-accept.c -------------------------------------------------------------------------------- /tests/test-arpa_inet.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-arpa_inet.c -------------------------------------------------------------------------------- /tests/test-binary-io.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tmpfiles="" 4 | trap 'rm -fr $tmpfiles' 1 2 3 15 5 | 6 | tmpfiles="$tmpfiles t-bin-out1.tmp t-bin-out2.tmp" 7 | ./test-binary-io${EXEEXT} > t-bin-out1.tmp || exit 1 8 | 9 | rm -fr $tmpfiles 10 | 11 | exit 0 12 | -------------------------------------------------------------------------------- /tests/test-bind.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-bind.c -------------------------------------------------------------------------------- /tests/test-btowc1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test in an ISO-8859-1 or ISO-8859-15 locale. 4 | : ${LOCALE_FR=fr_FR} 5 | if test $LOCALE_FR = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no traditional french locale is installed" 8 | else 9 | echo "Skipping test: no traditional french locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR \ 15 | ./test-btowc${EXEEXT} 1 16 | -------------------------------------------------------------------------------- /tests/test-btowc2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-btowc${EXEEXT} 2 16 | -------------------------------------------------------------------------------- /tests/test-chdir.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-chdir.c -------------------------------------------------------------------------------- /tests/test-close.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-close.c -------------------------------------------------------------------------------- /tests/test-connect.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-connect.c -------------------------------------------------------------------------------- /tests/test-dup.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-dup.c -------------------------------------------------------------------------------- /tests/test-faccessat.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-faccessat.c -------------------------------------------------------------------------------- /tests/test-fdopen.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fdopen.c -------------------------------------------------------------------------------- /tests/test-fflush2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Execute the test only with seekable input stream. 4 | # The behaviour of fflush() on a non-seekable input stream is undefined. 5 | ./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $? 6 | ./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $? 7 | #cat "$srcdir/test-fflush2.sh" | ./test-fflush2${EXEEXT} || exit $? 8 | 9 | exit 0 10 | -------------------------------------------------------------------------------- /tests/test-fgetc.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fgetc.c -------------------------------------------------------------------------------- /tests/test-float.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-float.c -------------------------------------------------------------------------------- /tests/test-fpending.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tmpfile= 4 | trap 'rm -fr $tmpfile' 1 2 3 15 5 | 6 | tmpfile=test-fpending.t 7 | 8 | ./test-fpending${EXEEXT} > $tmpfile || exit 1 9 | 10 | rm -fr $tmpfile 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /tests/test-fputc.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fputc.c -------------------------------------------------------------------------------- /tests/test-fread.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fread.c -------------------------------------------------------------------------------- /tests/test-freadahead.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./test-freadahead${EXEEXT} 0 < "$srcdir/test-freadahead.sh" || exit 1 4 | ./test-freadahead${EXEEXT} 5 < "$srcdir/test-freadahead.sh" || exit 1 5 | exit 0 6 | -------------------------------------------------------------------------------- /tests/test-fseek.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseek.c -------------------------------------------------------------------------------- /tests/test-fseek.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseek.sh -------------------------------------------------------------------------------- /tests/test-fseek2.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseek2.sh -------------------------------------------------------------------------------- /tests/test-fseeko.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./test-fseeko${EXEEXT} 1 < "$srcdir/test-fseeko.sh" || exit 1 4 | echo hi | ./test-fseeko${EXEEXT} || exit 1 5 | exit 0 6 | -------------------------------------------------------------------------------- /tests/test-fseeko2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec ./test-fseeko${EXEEXT} 1 2 < "$srcdir/test-fseeko2.sh" 4 | -------------------------------------------------------------------------------- /tests/test-fseeko3.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseeko3.c -------------------------------------------------------------------------------- /tests/test-fseeko3.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseeko3.sh -------------------------------------------------------------------------------- /tests/test-fseeko4.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseeko4.c -------------------------------------------------------------------------------- /tests/test-fseeko4.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fseeko4.sh -------------------------------------------------------------------------------- /tests/test-fstat.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fstat.c -------------------------------------------------------------------------------- /tests/test-ftell.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./test-ftell${EXEEXT} 1 < "$srcdir/test-ftell.sh" || exit 1 4 | echo hi | ./test-ftell${EXEEXT} || exit 1 5 | exit 0 6 | -------------------------------------------------------------------------------- /tests/test-ftell2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec ./test-ftell${EXEEXT} 1 2 < "$srcdir/test-ftell2.sh" 4 | -------------------------------------------------------------------------------- /tests/test-ftello.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./test-ftello${EXEEXT} 1 < "$srcdir/test-ftello.sh" || exit 1 4 | echo hi | ./test-ftello${EXEEXT} || exit 1 5 | exit 0 6 | -------------------------------------------------------------------------------- /tests/test-ftello2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec ./test-ftello${EXEEXT} 1 2 < "$srcdir/test-ftello2.sh" 4 | -------------------------------------------------------------------------------- /tests/test-ftello4.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-ftello4.c -------------------------------------------------------------------------------- /tests/test-ftello4.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-ftello4.sh -------------------------------------------------------------------------------- /tests/test-ftruncate.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-ftruncate.c -------------------------------------------------------------------------------- /tests/test-ftruncate.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-ftruncate.sh -------------------------------------------------------------------------------- /tests/test-fwrite.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-fwrite.c -------------------------------------------------------------------------------- /tests/test-getcwd-lgpl.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-getcwd-lgpl.c -------------------------------------------------------------------------------- /tests/test-getcwd.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-getcwd.sh -------------------------------------------------------------------------------- /tests/test-inet_pton.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-inet_pton.c -------------------------------------------------------------------------------- /tests/test-init.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-init.sh -------------------------------------------------------------------------------- /tests/test-intprops.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-intprops.c -------------------------------------------------------------------------------- /tests/test-ioctl.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-ioctl.c -------------------------------------------------------------------------------- /tests/test-isfinite.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isfinite.c -------------------------------------------------------------------------------- /tests/test-isinf.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isinf.c -------------------------------------------------------------------------------- /tests/test-isnand-nolibm.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnand-nolibm.c -------------------------------------------------------------------------------- /tests/test-isnand.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnand.h -------------------------------------------------------------------------------- /tests/test-isnanf-nolibm.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnanf-nolibm.c -------------------------------------------------------------------------------- /tests/test-isnanf.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnanf.h -------------------------------------------------------------------------------- /tests/test-isnanl-nolibm.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnanl-nolibm.c -------------------------------------------------------------------------------- /tests/test-isnanl.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-isnanl.h -------------------------------------------------------------------------------- /tests/test-listen.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-listen.c -------------------------------------------------------------------------------- /tests/test-localeconv.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-localeconv.c -------------------------------------------------------------------------------- /tests/test-lseek.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tmpfiles= 4 | trap 'rm -fr $tmpfiles' 1 2 3 15 5 | 6 | tmpfiles=t-lseek.tmp 7 | # seekable files 8 | ./test-lseek${EXEEXT} 0 < "$srcdir/test-lseek.sh" > t-lseek.tmp || exit 1 9 | 10 | # pipes 11 | echo hi | { ./test-lseek${EXEEXT} 1; echo $? > t-lseek.tmp; cat > /dev/null; } | cat 12 | test "`cat t-lseek.tmp`" = "0" || exit 1 13 | 14 | # closed descriptors 15 | ./test-lseek${EXEEXT} 2 <&- >&- || exit 1 16 | 17 | rm -rf $tmpfiles 18 | exit 0 19 | -------------------------------------------------------------------------------- /tests/test-mbrtowc-w32-1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP1252 locale. 4 | ./test-mbrtowc-w32${EXEEXT} French_France 1252 5 | -------------------------------------------------------------------------------- /tests/test-mbrtowc-w32-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP1256 locale. 4 | ./test-mbrtowc-w32${EXEEXT} "Arabic_Saudi Arabia" 1256 5 | -------------------------------------------------------------------------------- /tests/test-mbrtowc-w32-3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP932 locale. 4 | ./test-mbrtowc-w32${EXEEXT} Japanese_Japan 932 5 | -------------------------------------------------------------------------------- /tests/test-mbrtowc-w32-4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP950 locale. 4 | ./test-mbrtowc-w32${EXEEXT} Chinese_Taiwan 950 5 | -------------------------------------------------------------------------------- /tests/test-mbrtowc-w32-5.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP936 locale. 4 | ./test-mbrtowc-w32${EXEEXT} Chinese_China 936 5 | -------------------------------------------------------------------------------- /tests/test-mbrtowc1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test in an ISO-8859-1 or ISO-8859-15 locale. 4 | : ${LOCALE_FR=fr_FR} 5 | if test $LOCALE_FR = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no traditional french locale is installed" 8 | else 9 | echo "Skipping test: no traditional french locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR \ 15 | ./test-mbrtowc${EXEEXT} 1 16 | -------------------------------------------------------------------------------- /tests/test-mbrtowc2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-mbrtowc${EXEEXT} 2 16 | -------------------------------------------------------------------------------- /tests/test-mbrtowc3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific EUC-JP locale is installed. 4 | : ${LOCALE_JA=ja_JP} 5 | if test $LOCALE_JA = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no traditional japanese locale is installed" 8 | else 9 | echo "Skipping test: no traditional japanese locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_JA \ 15 | ./test-mbrtowc${EXEEXT} 3 16 | -------------------------------------------------------------------------------- /tests/test-mbrtowc4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific GB18030 locale is installed. 4 | : ${LOCALE_ZH_CN=zh_CN.GB18030} 5 | if test $LOCALE_ZH_CN = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no transitional chinese locale is installed" 8 | else 9 | echo "Skipping test: no transitional chinese locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_ZH_CN \ 15 | ./test-mbrtowc${EXEEXT} 4 16 | -------------------------------------------------------------------------------- /tests/test-mbscasestr2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-mbscasestr2${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-mbscasestr3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific GB18030 locale is installed. 4 | : ${LOCALE_ZH_CN=zh_CN.GB18030} 5 | if test $LOCALE_ZH_CN = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no chinese GB18030 locale is installed" 8 | else 9 | echo "Skipping test: no chinese GB18030 locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_ZH_CN \ 15 | ./test-mbscasestr3${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-mbscasestr4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific Turkish locale is installed. 4 | : ${LOCALE_TR_UTF8=tr_TR.UTF-8} 5 | if test $LOCALE_TR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no turkish Unicode locale is installed" 8 | else 9 | echo "Skipping test: no turkish Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_TR_UTF8 \ 15 | ./test-mbscasestr4${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-mbsinit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-mbsinit${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-mbsrtowcs1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test in an ISO-8859-1 or ISO-8859-15 locale. 4 | : ${LOCALE_FR=fr_FR} 5 | if test $LOCALE_FR = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no traditional french locale is installed" 8 | else 9 | echo "Skipping test: no traditional french locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR \ 15 | ./test-mbsrtowcs${EXEEXT} 1 16 | -------------------------------------------------------------------------------- /tests/test-mbsrtowcs2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-mbsrtowcs${EXEEXT} 2 16 | -------------------------------------------------------------------------------- /tests/test-mbsrtowcs3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific EUC-JP locale is installed. 4 | : ${LOCALE_JA=ja_JP} 5 | if test $LOCALE_JA = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no traditional japanese locale is installed" 8 | else 9 | echo "Skipping test: no traditional japanese locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_JA \ 15 | ./test-mbsrtowcs${EXEEXT} 3 16 | -------------------------------------------------------------------------------- /tests/test-mbsrtowcs4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific GB18030 locale is installed. 4 | : ${LOCALE_ZH_CN=zh_CN.GB18030} 5 | if test $LOCALE_ZH_CN = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no transitional chinese locale is installed" 8 | else 9 | echo "Skipping test: no transitional chinese locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_ZH_CN \ 15 | ./test-mbsrtowcs${EXEEXT} 4 16 | -------------------------------------------------------------------------------- /tests/test-mbsstr2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific UTF-8 locale is installed. 4 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5 | if test $LOCALE_FR_UTF8 = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no french Unicode locale is installed" 8 | else 9 | echo "Skipping test: no french Unicode locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_FR_UTF8 \ 15 | ./test-mbsstr2${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-mbsstr3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test whether a specific GB18030 locale is installed. 4 | : ${LOCALE_ZH_CN=zh_CN.GB18030} 5 | if test $LOCALE_ZH_CN = none; then 6 | if test -f /usr/bin/localedef; then 7 | echo "Skipping test: no chinese GB18030 locale is installed" 8 | else 9 | echo "Skipping test: no chinese GB18030 locale is supported" 10 | fi 11 | exit 77 12 | fi 13 | 14 | LC_ALL=$LOCALE_ZH_CN \ 15 | ./test-mbsstr3${EXEEXT} 16 | -------------------------------------------------------------------------------- /tests/test-modf.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-modf.h -------------------------------------------------------------------------------- /tests/test-nanosleep.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-nanosleep.c -------------------------------------------------------------------------------- /tests/test-netinet_in.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-netinet_in.c -------------------------------------------------------------------------------- /tests/test-nl_langinfo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LC_ALL=C ./test-nl_langinfo${EXEEXT} 0 || exit 1 4 | 5 | # Test whether a specific traditional locale is installed. 6 | : ${LOCALE_FR=fr_FR} 7 | if test $LOCALE_FR != none; then 8 | LC_ALL=$LOCALE_FR ./test-nl_langinfo${EXEEXT} 1 || exit 1 9 | fi 10 | 11 | # Test whether a specific UTF-8 locale is installed. 12 | : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 13 | if test $LOCALE_FR_UTF8 != none; then 14 | LC_ALL=$LOCALE_FR_UTF8 ./test-nl_langinfo${EXEEXT} 2 || exit 1 15 | fi 16 | 17 | exit 0 18 | -------------------------------------------------------------------------------- /tests/test-pathmax.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-pathmax.c -------------------------------------------------------------------------------- /tests/test-perror2.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-perror2.c -------------------------------------------------------------------------------- /tests/test-pipe.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-pipe.c -------------------------------------------------------------------------------- /tests/test-raise.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-raise.c -------------------------------------------------------------------------------- /tests/test-regex.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-regex.c -------------------------------------------------------------------------------- /tests/test-select-fd.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select-fd.c -------------------------------------------------------------------------------- /tests/test-select-in.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select-in.sh -------------------------------------------------------------------------------- /tests/test-select-out.sh: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select-out.sh -------------------------------------------------------------------------------- /tests/test-select-stdin.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select-stdin.c -------------------------------------------------------------------------------- /tests/test-select.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select.c -------------------------------------------------------------------------------- /tests/test-select.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-select.h -------------------------------------------------------------------------------- /tests/test-setsockopt.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-setsockopt.c -------------------------------------------------------------------------------- /tests/test-sigaction.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sigaction.c -------------------------------------------------------------------------------- /tests/test-signal-h.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-signal-h.c -------------------------------------------------------------------------------- /tests/test-sigprocmask.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sigprocmask.c -------------------------------------------------------------------------------- /tests/test-sockets.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sockets.c -------------------------------------------------------------------------------- /tests/test-statat.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-statat.c -------------------------------------------------------------------------------- /tests/test-stdalign.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-stdalign.c -------------------------------------------------------------------------------- /tests/test-strerror_r.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-strerror_r.c -------------------------------------------------------------------------------- /tests/test-strtol.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-strtol.c -------------------------------------------------------------------------------- /tests/test-strtoul.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-strtoul.c -------------------------------------------------------------------------------- /tests/test-strtoull.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-strtoull.c -------------------------------------------------------------------------------- /tests/test-strtoumax.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-strtoumax.c -------------------------------------------------------------------------------- /tests/test-sys_ioctl.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sys_ioctl.c -------------------------------------------------------------------------------- /tests/test-sys_select.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sys_select.c -------------------------------------------------------------------------------- /tests/test-sys_socket.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sys_socket.c -------------------------------------------------------------------------------- /tests/test-sys_types.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sys_types.c -------------------------------------------------------------------------------- /tests/test-sys_uio.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-sys_uio.c -------------------------------------------------------------------------------- /tests/test-thread_create.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-thread_create.c -------------------------------------------------------------------------------- /tests/test-thread_self.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-thread_self.c -------------------------------------------------------------------------------- /tests/test-trunc1.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-trunc1.c -------------------------------------------------------------------------------- /tests/test-trunc2.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/tests/test-trunc2.c -------------------------------------------------------------------------------- /tests/test-wcrtomb-w32-1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP1252 locale. 4 | ./test-wcrtomb-w32${EXEEXT} French_France 1252 5 | -------------------------------------------------------------------------------- /tests/test-wcrtomb-w32-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP1256 locale. 4 | ./test-wcrtomb-w32${EXEEXT} "Arabic_Saudi Arabia" 1256 5 | -------------------------------------------------------------------------------- /tests/test-wcrtomb-w32-3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP932 locale. 4 | ./test-wcrtomb-w32${EXEEXT} Japanese_Japan 932 5 | -------------------------------------------------------------------------------- /tests/test-wcrtomb-w32-4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP950 locale. 4 | ./test-wcrtomb-w32${EXEEXT} Chinese_Taiwan 950 5 | -------------------------------------------------------------------------------- /tests/test-wcrtomb-w32-5.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Test a CP936 locale. 4 | ./test-wcrtomb-w32${EXEEXT} Chinese_China 936 5 | -------------------------------------------------------------------------------- /tests/test-xstrtoul.c: -------------------------------------------------------------------------------- 1 | #define __xstrtol xstrtoul 2 | #define __strtol_t unsigned long int 3 | #define __spec "lu" 4 | #include "test-xstrtol.c" 5 | -------------------------------------------------------------------------------- /tests/test-xstrtoumax.c: -------------------------------------------------------------------------------- 1 | #define __xstrtol xstrtoumax 2 | #define __strtol_t uintmax_t 3 | #define __spec PRIuMAX 4 | #include "test-xstrtol.c" 5 | -------------------------------------------------------------------------------- /tests/uinttostr.c: -------------------------------------------------------------------------------- 1 | #define anytostr uinttostr 2 | #define inttype unsigned int 3 | #include "anytostr.c" 4 | -------------------------------------------------------------------------------- /tests/umaxtostr.c: -------------------------------------------------------------------------------- 1 | #define anytostr umaxtostr 2 | #define inttype uintmax_t 3 | #include "anytostr.c" 4 | -------------------------------------------------------------------------------- /tests/unlink.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/unlink.c -------------------------------------------------------------------------------- /tests/unlinkat.c: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/unlinkat.c -------------------------------------------------------------------------------- /tests/w32sock.h: -------------------------------------------------------------------------------- 1 | /usr/src/findutils/findutils/gnulib-git/gnulib/lib/w32sock.h -------------------------------------------------------------------------------- /xargs/.cvsignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | xargs 5 | -------------------------------------------------------------------------------- /xargs/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | Makefile 3 | Makefile.in 4 | xargs 5 | *~ 6 | xargs.o 7 | -------------------------------------------------------------------------------- /xargs/testsuite/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | site.exp 4 | xargs.log 5 | xargs.sum 6 | -------------------------------------------------------------------------------- /xargs/testsuite/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | Makefile.in 3 | site.exp 4 | xargs.log 5 | xargs.sum 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/EOF.xi: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | EOF 4 | three 5 | four 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/EOFb.xi: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | bEOF 4 | three 5 | four 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/EOFe.xi: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | EOFe 4 | three 5 | four 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/Pdata.xi: -------------------------------------------------------------------------------- 1 | sleep 2 && echo one 2 | sleep 1 && echo two 3 | echo three 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/blank.xi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/empty.xi: -------------------------------------------------------------------------------- 1 | foo '' bar 2 | baz '' 3 | '' fnord 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/eof1.xi: -------------------------------------------------------------------------------- 1 | firstline 2 | secondline 3 | _ 4 | thirdline 5 | fourthline 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/eof_-0.xi: -------------------------------------------------------------------------------- 1 | onetwo_threefour -------------------------------------------------------------------------------- /xargs/testsuite/inputs/eof_.xi: -------------------------------------------------------------------------------- 1 | one 2 | two 3 | _ 4 | three 5 | four -------------------------------------------------------------------------------- /xargs/testsuite/inputs/eofstr.xi: -------------------------------------------------------------------------------- 1 | firstline 2 | secondline 3 | EOF 4 | thirdline 5 | fourthline 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ett.xi: -------------------------------------------------------------------------------- 1 | exit 255 2 | echo 1 3 | echo 2 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/foobar.xi: -------------------------------------------------------------------------------- 1 | foo bar 2 | baz 3 | ugh 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/formfeeds.xi: -------------------------------------------------------------------------------- 1 | 1 2 3 4 2 | a b c d 3 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ftt.xi: -------------------------------------------------------------------------------- 1 | false 2 | echo 1 3 | echo 2 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/helloworld.xi: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /xargs/testsuite/inputs/items-0.xi: -------------------------------------------------------------------------------- 1 | one 2 | dumb s s f f r r t t v v 3 | n 4 | 5 | n 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/items.xi: -------------------------------------------------------------------------------- 1 | 2 | dumb 3 | s s 4 | f f 5 | r r 6 | t t 7 | v v 8 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ldata-0.xi: -------------------------------------------------------------------------------- 1 | 1 22 333 444455555 666666777777788888888999999999 1 22333 4444 55555666666 777777788888888999999999 -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ldata.xi: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 2 | 55555 666666 3 | 7777777 4 | 88888888 5 | 999999999 1 22 6 | 333 4444 55555 7 | 666666 7777777 8 | 88888888 9 | 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ldatab-0.xi: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 6666667777777 88888888 999999999 1 22333 4444 55555666666 777777788888888999999999 -------------------------------------------------------------------------------- /xargs/testsuite/inputs/ldatab.xi: -------------------------------------------------------------------------------- 1 | 2 | 1 22 333 4444 3 | 55555 666666 4 | 7777777 5 | 88888888 6 | 999999999 1 22 7 | 333 4444 55555 8 | 666666 7777777 9 | 88888888 10 | 999999999 11 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/lines.xi: -------------------------------------------------------------------------------- 1 | first nonblank line 2 | second nonblank line 3 | 4 | third nonblank line 5 | 6 | fourth nonblank line 7 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/noeof-0.xi: -------------------------------------------------------------------------------- 1 | firstsecond -------------------------------------------------------------------------------- /xargs/testsuite/inputs/noeof.xi: -------------------------------------------------------------------------------- 1 | first 2 | second -------------------------------------------------------------------------------- /xargs/testsuite/inputs/quotes.xi: -------------------------------------------------------------------------------- 1 | this is 2 | "quoted stuff" 3 | and \ 4 | an embedded newline 5 | with 'single quotes' as well. 6 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/space.xi: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/stairs-0.xi: -------------------------------------------------------------------------------- 1 | 122333444455555666666777777788888888999999999122333444455555666666777777788888888999999999 -------------------------------------------------------------------------------- /xargs/testsuite/inputs/stairs.xi: -------------------------------------------------------------------------------- 1 | 1 2 | 22 3 | 333 4 | 4444 5 | 55555 6 | 666666 7 | 7777777 8 | 88888888 9 | 999999999 10 | 1 11 | 22 12 | 333 13 | 4444 14 | 55555 15 | 666666 16 | 7777777 17 | 88888888 18 | 999999999 19 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/stairs2-0.xi: -------------------------------------------------------------------------------- 1 | 999999999888888887777777666666555554444333221999999999888888887777777666666555554444333221 -------------------------------------------------------------------------------- /xargs/testsuite/inputs/stairs2.xi: -------------------------------------------------------------------------------- 1 | 999999999 2 | 88888888 3 | 7777777 4 | 666666 5 | 55555 6 | 4444 7 | 333 8 | 22 9 | 1 10 | 999999999 11 | 88888888 12 | 7777777 13 | 666666 14 | 55555 15 | 4444 16 | 333 17 | 22 18 | 1 19 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/stt.xi: -------------------------------------------------------------------------------- 1 | kill $$ 2 | echo 1 3 | echo 2 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/sv-bug-20273.xi: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | -------------------------------------------------------------------------------- /xargs/testsuite/inputs/unmatched.xi: -------------------------------------------------------------------------------- 1 | one 2 | "two 3 | three -------------------------------------------------------------------------------- /xargs/testsuite/inputs/unmatched2.xi: -------------------------------------------------------------------------------- 1 | one 2 | "two -------------------------------------------------------------------------------- /xargs/testsuite/inputs/verticaltabs.xi: -------------------------------------------------------------------------------- 1 | q w e r 6 7 8 9 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/0n3.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0 -n3} files0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/E_-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E_ -0} eof_-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/E_-0.xo: -------------------------------------------------------------------------------- 1 | one two _ three four 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L2-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L2 -0} ldata-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L2-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 2 | 7777777 88888888 3 | 999999999 1 22 333 4444 55555 4 | 666666 7777777 88888888 5 | 999999999 6 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L2_2-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L2 -0} ldatab-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L2_2-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 2 | 55555 666666 7777777 3 | 88888888 999999999 1 22 4 | 333 4444 55555 666666 7777777 5 | 88888888 999999999 6 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L3-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L3 -0} ldata-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/L3-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 7777777 2 | 88888888 999999999 1 22 333 4444 55555 3 | 666666 7777777 88888888 999999999 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/P3-n1-IARG.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-P3 -n1 -IARG sh -c ARG} Pdata.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/P3-n1-IARG.xo: -------------------------------------------------------------------------------- 1 | three 2 | two 3 | one 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/delim-o.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-d o -n1} helloworld.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/delim-o.xo: -------------------------------------------------------------------------------- 1 | hell 2 | w 3 | rld 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/empty-r.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-r echo this plus that} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/empty_def-r.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-r} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/idef-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-i -0 echo from \{\} to x{}y} items-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/idef-0.xo: -------------------------------------------------------------------------------- 1 | from one to xoney 2 | from 3 | to x 4 | y 5 | from dumb to xdumby 6 | from s s to x s s y 7 | from f f to x f f y 8 | from r r to x r r y 9 | from t t to x t t y 10 | from v v to x v v y 11 | from to x y 12 | from 13 | n 14 | 15 | n 16 | to x 17 | n 18 | 19 | n 20 | y 21 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/idef-s26-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-i -s26 -0 echo from \{\} to x{}y} items-0.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/idef-s26-0.xo: -------------------------------------------------------------------------------- 1 | from one to xoney 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/l1-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l -0} ldata-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/l1-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 2 | 55555 666666 3 | 7777777 4 | 88888888 5 | 999999999 1 22 6 | 333 4444 55555 7 | 666666 7777777 8 | 88888888 9 | 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/l1_2-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l -0} ldatab-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/l1_2-0.xo: -------------------------------------------------------------------------------- 1 | 2 | 1 22 333 4444 3 | 55555 666666 4 | 7777777 5 | 88888888 6 | 999999999 1 22 7 | 333 4444 55555 8 | 666666 7777777 9 | 88888888 10 | 999999999 11 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n1-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n1 -0} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n1-0.xo: -------------------------------------------------------------------------------- 1 | 1 2 | 22 3 | 333 4 | 4444 5 | 55555 6 | 666666 7 | 7777777 8 | 88888888 9 | 999999999 10 | 1 11 | 22 12 | 333 13 | 4444 14 | 55555 15 | 666666 16 | 7777777 17 | 88888888 18 | 999999999 19 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n2 -0} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | 7777777 88888888 5 | 999999999 1 6 | 22 333 7 | 4444 55555 8 | 666666 7777777 9 | 88888888 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-s26-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n2 -s26 -0} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-s26-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | 7777777 5 | 88888888 6 | 999999999 1 7 | 22 333 8 | 4444 55555 9 | 666666 7777777 10 | 88888888 11 | 999999999 12 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-s26-x-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-n2 -s26 -x -0} stairs-0.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n2-s26-x-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n3-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n3 -0} stairs2-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n3-0.xo: -------------------------------------------------------------------------------- 1 | 999999999 88888888 7777777 2 | 666666 55555 4444 3 | 333 22 1 4 | 999999999 88888888 7777777 5 | 666666 55555 4444 6 | 333 22 1 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n3-s36-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n3 -s36 -0} stairs2-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/n3-s36-0.xo: -------------------------------------------------------------------------------- 1 | 999999999 88888888 2 | 7777777 666666 55555 3 | 4444 333 22 4 | 1 999999999 88888888 5 | 7777777 666666 55555 6 | 4444 333 22 7 | 1 8 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/noeof-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0} noeof-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/noeof-0.xo: -------------------------------------------------------------------------------- 1 | first second 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/nothing.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {echo this plus that} {} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/nothing.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/r.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-r echo this plus that} blank.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/r.xo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Distrotech/findutils/e6ff6b550f7bfe41fb3d72d4ff67cfbb398aa8e1/xargs/testsuite/xargs.gnu/r.xo -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s118-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0 -s118} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s118-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s19-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-0 -s19} stairs-0.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s19-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 2 | 4444 3 | 55555 4 | 666666 5 | 7777777 6 | 88888888 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s19_2-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-0 -s19} stairs2-0.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s20-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0 -s20} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s20-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 2 | 4444 3 | 55555 4 | 666666 5 | 7777777 6 | 88888888 7 | 999999999 8 | 1 22 333 9 | 4444 10 | 55555 11 | 666666 12 | 7777777 13 | 88888888 14 | 999999999 15 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s30-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0 -s30} stairs-0.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/s30-0.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 2 | 666666 7777777 3 | 88888888 999999999 4 | 1 22 333 4444 55555 5 | 666666 7777777 6 | 88888888 999999999 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-0 echo this plus that} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-0.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | 3 | 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-r.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-r echo this plus that} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-t-0.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-t -0 echo this plus that} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-t-0.xe: -------------------------------------------------------------------------------- 1 | echo this plus that 2 | 3 | 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.gnu/space-t-0.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | 3 | 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOF.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E EOF} EOF.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOF.xo: -------------------------------------------------------------------------------- 1 | one two 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOFb.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E EOF} EOFb.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOFb.xo: -------------------------------------------------------------------------------- 1 | one two bEOF three four 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOFe.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E EOF} EOFe.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/EEOFe.xo: -------------------------------------------------------------------------------- 1 | one two EOFe three four 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/E_-IARG.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E_ -IARG echo from ARG to xARGy} eof_.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/E_-IARG.xo: -------------------------------------------------------------------------------- 1 | from one to xoney 2 | from two to xtwoy 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/E_.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E_} eof_.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/E_.xo: -------------------------------------------------------------------------------- 1 | one two 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG-E_.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-IARG echo from ARG to xARGy -E_} eof_.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG-E_.xo: -------------------------------------------------------------------------------- 1 | from one to xoney -E_ 2 | from two to xtwoy -E_ 3 | from _ to x_y -E_ 4 | from three to xthreey -E_ 5 | from four to xfoury -E_ 6 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG-s15.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-IARG -s15 echo ARG} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG-s15.xo: -------------------------------------------------------------------------------- 1 | 1 2 | 22 3 | 333 4 | 4444 5 | 55555 6 | 666666 7 | 7777777 8 | 88888888 9 | 999999999 10 | 1 11 | 22 12 | 333 13 | 4444 14 | 55555 15 | 666666 16 | 7777777 17 | 88888888 18 | 999999999 19 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-IARG echo from ARG to xARGy} items.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/IARG.xo: -------------------------------------------------------------------------------- 1 | from dumb to xdumby 2 | from s s to xs s y 3 | from f f to xf f y 4 | from r r to xr r y 5 | from t t to xt t y 6 | from v v to xv v y 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L2-n2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L2 -n2} ldata.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L2-n2.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | 7777777 88888888 5 | 999999999 1 6 | 22 333 7 | 4444 55555 8 | 666666 7777777 9 | 88888888 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L2_2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L2} ldatab.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L2_2.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 2 | 333 4444 55555 666666 7777777 3 | 88888888 999999999 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L3.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L3} ldata.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/L3.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 7777777 2 | 88888888 999999999 1 22 333 4444 55555 3 | 666666 7777777 88888888 999999999 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/childfail.exp: -------------------------------------------------------------------------------- 1 | xargs_start 123 { false } files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/empty.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {echo this plus that} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/empty.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/empty_def.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/empty_def.xo: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/hithere.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s470 echo hi there} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n1.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n1} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n1.xo: -------------------------------------------------------------------------------- 1 | 1 2 | 22 3 | 333 4 | 4444 5 | 55555 6 | 666666 7 | 7777777 8 | 88888888 9 | 999999999 10 | 1 11 | 22 12 | 333 13 | 4444 14 | 55555 15 | 666666 16 | 7777777 17 | 88888888 18 | 999999999 19 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2-s26-x.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-n2 -s26 -x} stairs.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2-s26-x.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2-s26.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n2 -s26} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2-s26.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | 7777777 5 | 88888888 6 | 999999999 1 7 | 22 333 8 | 4444 55555 9 | 666666 7777777 10 | 88888888 11 | 999999999 12 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n2} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n2.xo: -------------------------------------------------------------------------------- 1 | 1 22 2 | 333 4444 3 | 55555 666666 4 | 7777777 88888888 5 | 999999999 1 6 | 22 333 7 | 4444 55555 8 | 666666 7777777 9 | 88888888 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n3-s36.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n3 -s36} stairs2.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n3-s36.xo: -------------------------------------------------------------------------------- 1 | 999999999 88888888 2 | 7777777 666666 55555 3 | 4444 333 22 4 | 1 999999999 88888888 5 | 7777777 666666 55555 6 | 4444 333 22 7 | 1 8 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/n3.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n3} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/noeof.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {} noeof.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/noeof.xo: -------------------------------------------------------------------------------- 1 | first second 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/quotes.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {} quotes.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/quotes.xo: -------------------------------------------------------------------------------- 1 | this is quoted stuff and 2 | an embedded newline with single quotes as well. 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-123.exp: -------------------------------------------------------------------------------- 1 | xargs_start 123 {-n1 -IARG sh -c ARG} ftt.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-123.xo: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-124.exp: -------------------------------------------------------------------------------- 1 | xargs_start 124 {-n1 -IARG sh -c ARG} ett.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-125.exp: -------------------------------------------------------------------------------- 1 | # 2 | # The technique of using "kill $$" is unreliable. For example, 3 | # on MacOS X, the child just exits with a nonzero status. 4 | # This works better but is harder to use in a DejaGnu test: 5 | # yes | xargs -I{} echo | true 6 | # Part of the problem here of course is that the exit status of the 7 | # pipeline is the exit status of its last compinent. 8 | # 9 | # This problem is recorded as Savannah bug# 19969. 10 | # 11 | xargs_start 125 {-n1 -IARG sh -c ARG} stt.xi skip 12 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-126.exp: -------------------------------------------------------------------------------- 1 | xargs_start 126 {/} {} skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/rc-127.exp: -------------------------------------------------------------------------------- 1 | xargs_start 127 {./missing} {} skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s118.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s118} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s118.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 7777777 88888888 999999999 1 22 333 4444 55555 666666 7777777 88888888 999999999 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s19.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-s19} stairs.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s19.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 2 | 4444 3 | 55555 4 | 666666 5 | 7777777 6 | 88888888 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s19_2.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-s19} stairs2.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s20.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s20} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s20.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 2 | 4444 3 | 55555 4 | 666666 5 | 7777777 6 | 88888888 7 | 999999999 8 | 1 22 333 9 | 4444 10 | 55555 11 | 666666 12 | 7777777 13 | 88888888 14 | 999999999 15 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s30.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s30} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s30.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 2 | 666666 7777777 3 | 88888888 999999999 4 | 1 22 333 4444 55555 5 | 666666 7777777 6 | 88888888 999999999 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s47.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-s47} files.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s470.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s470} files.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s48.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s48} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/s6.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-s6} files.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/savannah-11865.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-iARG -s86 echo ARG is xARGx} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/space-I.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-IARG echo from ARG to xARGy} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/space.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {echo this plus that} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/space.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-18714.exp: -------------------------------------------------------------------------------- 1 | # Form feed is not a separator. 2 | # 3 | # POSIX specifies that is the serarator 4 | # in the POSIX locale, and is defined 5 | # as or . 6 | # 7 | # On the other hand, includes Form Feed and 8 | # Vertical Tab. By default, those should not be 9 | # separators. 10 | xargs_start p {printf "\[%s\]\n"} formfeeds.xi 11 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-18714.xo: -------------------------------------------------------------------------------- 1 | [1 2 3 4] 2 | [a b c d] 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-18714b.exp: -------------------------------------------------------------------------------- 1 | # Vertical tab is not a separator. 2 | # 3 | # POSIX specifies that is the serarator 4 | # in the POSIX locale, and is defined 5 | # as or . 6 | # 7 | # On the other hand, includes Form Feed and 8 | # Vertical Tab. By default, those should not be 9 | # separators. 10 | xargs_start p {printf "\[%s\]\n"} verticaltabs.xi 11 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-18714b.xo: -------------------------------------------------------------------------------- 1 | [q w e r] 2 | [6 7 8 9] 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-20273.exp: -------------------------------------------------------------------------------- 1 | xargs_start p "" sv-bug-20273.xi "" "sh -c \{$XARGS $XARGSFLAGS -E2; cat\}" 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/sv-bug-20273.xo: -------------------------------------------------------------------------------- 1 | 1 2 | 3 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/uc_L2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-L2} ldata.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/uc_L2.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 2 | 7777777 88888888 3 | 999999999 1 22 333 4444 55555 4 | 666666 7777777 88888888 5 | 999999999 6 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/unmatched-n2-x.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-n2 -x} unmatched.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/unmatched.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {} unmatched.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/unmatched.xo: -------------------------------------------------------------------------------- 1 | one 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/unmatched2.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {} unmatched2.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.posix/unmatched2.xo: -------------------------------------------------------------------------------- 1 | one 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/e.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-e} eof_.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/e.xo: -------------------------------------------------------------------------------- 1 | one two _ three four 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/eEOF.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-eEOF} eofstr.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/eEOF.xo: -------------------------------------------------------------------------------- 1 | firstline secondline 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty-t.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-t echo this plus that} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty-t.xe: -------------------------------------------------------------------------------- 1 | echo this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty-t.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty_def-t.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-t} 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty_def-t.xe: -------------------------------------------------------------------------------- 1 | /bin/echo 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/empty_def-t.xo: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/eof1.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-E_} eof1.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/eof1.xo: -------------------------------------------------------------------------------- 1 | firstline secondline 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/iARG.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-iARG echo ARG is xARGx} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/idef-s26.exp: -------------------------------------------------------------------------------- 1 | xargs_start f {-i -s26 echo from \{\} to x{}y} items.xi skip 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/idef-s26.xo: -------------------------------------------------------------------------------- 1 | from dumb to xdumby 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/idef.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-i echo from \{\} to x{}y} items.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/idef.xo: -------------------------------------------------------------------------------- 1 | from dumb to xdumby 2 | from s s to xs s y 3 | from f f to xf f y 4 | from r r to xr r y 5 | from t t to xt t y 6 | from v v to xv v y 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/iquotes.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-i__ echo FIRST __ IS OK} quotes.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/iquotes.xo: -------------------------------------------------------------------------------- 1 | FIRST this is IS OK 2 | FIRST quoted stuff IS OK 3 | FIRST and 4 | an embedded newline IS OK 5 | FIRST with single quotes as well. IS OK 6 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/l1.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l} ldata.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/l1.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 2 | 55555 666666 3 | 7777777 4 | 88888888 5 | 999999999 1 22 6 | 333 4444 55555 7 | 666666 7777777 8 | 88888888 9 | 999999999 10 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/l1_2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l} ldatab.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/l1_2.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 666666 2 | 7777777 88888888 999999999 1 22 3 | 333 4444 55555 4 | 666666 7777777 5 | 88888888 6 | 999999999 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/l1n4.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l1 -n4} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/lc_l2.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-l2} files.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/s30-t.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-s30 -t} stairs.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/s30-t.xe: -------------------------------------------------------------------------------- 1 | /bin/echo 1 22 333 4444 55555 2 | /bin/echo 666666 7777777 3 | /bin/echo 88888888 999999999 4 | /bin/echo 1 22 333 4444 55555 5 | /bin/echo 666666 7777777 6 | /bin/echo 88888888 999999999 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/s30-t.xo: -------------------------------------------------------------------------------- 1 | 1 22 333 4444 55555 2 | 666666 7777777 3 | 88888888 999999999 4 | 1 22 333 4444 55555 5 | 666666 7777777 6 | 88888888 999999999 7 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/space-t.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-t echo this plus that} space.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/space-t.xe: -------------------------------------------------------------------------------- 1 | echo this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/space-t.xo: -------------------------------------------------------------------------------- 1 | this plus that 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/sv-bug-18713.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n1 printf "@%s@\n"} empty.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/sv-bug-18713.xo: -------------------------------------------------------------------------------- 1 | @foo@ 2 | @@ 3 | @bar@ 4 | @baz@ 5 | @@ 6 | @@ 7 | @fnord@ 8 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/trace.exp: -------------------------------------------------------------------------------- 1 | xargs_start p {-n2 -t echo } foobar.xi 2 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/trace.xe: -------------------------------------------------------------------------------- 1 | echo foo bar 2 | echo baz ugh 3 | -------------------------------------------------------------------------------- /xargs/testsuite/xargs.sysv/trace.xo: -------------------------------------------------------------------------------- 1 | foo bar 2 | baz ugh 3 | --------------------------------------------------------------------------------