From: Jim Meyering Date: Wed, 16 Jun 1993 15:24:57 +0000 (+0000) Subject: Initial revision X-Git-Tag: FILEUTILS-3_8_3b~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75dd04102776a59adda1c9747dfc0152de3c34b5;p=platform%2Fupstream%2Fcoreutils.git Initial revision --- diff --git a/src/ls-dir.c b/src/ls-dir.c new file mode 100644 index 000000000..85fe242eb --- /dev/null +++ b/src/ls-dir.c @@ -0,0 +1,2 @@ +#include "ls.h" +int ls_mode = LS_MULTI_COL; diff --git a/src/ls-ls.c b/src/ls-ls.c new file mode 100644 index 000000000..f33fbbc06 --- /dev/null +++ b/src/ls-ls.c @@ -0,0 +1,2 @@ +#include "ls.h" +int ls_mode = LS_LS; diff --git a/src/ls-vdir.c b/src/ls-vdir.c new file mode 100644 index 000000000..36ebf913b --- /dev/null +++ b/src/ls-vdir.c @@ -0,0 +1,2 @@ +#include "ls.h" +int ls_mode = LS_LONG_FORMAT; diff --git a/src/ls.h b/src/ls.h new file mode 100644 index 000000000..028271f57 --- /dev/null +++ b/src/ls.h @@ -0,0 +1,10 @@ +/* This is for the `ls' program. */ +#define LS_LS 1 + +/* This is for the `dir' program. */ +#define LS_MULTI_COL 2 + +/* This is for the `vdir' program. */ +#define LS_LONG_FORMAT 3 + +extern int ls_mode;