summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-10-01 21:43:36 -0400
committerJakob Kaivo <jkk@ung.org>2019-10-01 21:43:36 -0400
commit40d9969c9bae194154fae38ede4f3b1e614d0570 (patch)
treea5e5e78eee03bc4f78e2cde6afa5ccbfb31d921f
parent6a7b7ffcfa66477af2372eee69ff12dcefee2f38 (diff)
move all sources under src/
-rw-r--r--.gitmodules126
m---------src/ar (renamed from ar)0
-rw-r--r--src/ar.c2
m---------src/asa (renamed from asa)0
-rw-r--r--src/asa.c2
m---------src/basename (renamed from basename)0
-rw-r--r--src/basename.c2
m---------src/bc (renamed from bc)0
-rw-r--r--src/bc.c2
m---------src/cal (renamed from cal)0
-rw-r--r--src/cal.c2
m---------src/cat (renamed from cat)0
-rw-r--r--src/cat.c2
m---------src/chgrp (renamed from chgrp)0
-rw-r--r--src/chgrp.c2
m---------src/chmod (renamed from chmod)0
-rw-r--r--src/chmod.c3
m---------src/chown (renamed from chown)0
-rw-r--r--src/chown.c3
m---------src/cksum (renamed from cksum)0
-rw-r--r--src/cksum.c2
m---------src/cmp (renamed from cmp)0
-rw-r--r--src/cmp.c2
m---------src/cp (renamed from cp)0
-rw-r--r--src/cp.c2
m---------src/crontab (renamed from crontab)0
-rw-r--r--src/crontab.c2
m---------src/ctags (renamed from ctags)0
-rw-r--r--src/ctags.c2
m---------src/date (renamed from date)0
-rw-r--r--src/date.c2
m---------src/dd (renamed from dd)0
-rw-r--r--src/dd.c2
m---------src/dirname (renamed from dirname)0
-rw-r--r--src/dirname.c2
m---------src/du (renamed from du)0
-rw-r--r--src/du.c2
m---------src/ed (renamed from ed)0
-rw-r--r--src/ed.c16
m---------src/env (renamed from env)0
-rw-r--r--src/env.c2
m---------src/ex (renamed from ex)0
-rw-r--r--src/ex.c2
m---------src/expand (renamed from expand)0
-rw-r--r--src/expand.c2
m---------src/file (renamed from file)0
-rw-r--r--src/file.c4
m---------src/getconf (renamed from getconf)0
-rw-r--r--src/getconf.c2
m---------src/grep (renamed from grep)0
-rw-r--r--src/grep.c3
m---------src/head (renamed from head)0
-rw-r--r--src/head.c2
m---------src/iconv (renamed from iconv)0
-rw-r--r--src/iconv.c2
m---------src/id (renamed from id)0
-rw-r--r--src/id.c2
m---------src/link (renamed from link)0
-rw-r--r--src/link.c2
m---------src/ln (renamed from ln)0
-rw-r--r--src/ln.c2
m---------src/locale (renamed from locale)0
-rw-r--r--src/locale.c2
m---------src/logger (renamed from logger)0
-rw-r--r--src/logger.c2
m---------src/logname (renamed from logname)0
-rw-r--r--src/logname.c2
m---------src/ls (renamed from ls)0
-rw-r--r--src/ls.c2
m---------src/mkdir (renamed from mkdir)0
-rw-r--r--src/mkdir.c2
m---------src/mkfifo (renamed from mkfifo)0
-rw-r--r--src/mkfifo.c2
m---------src/more (renamed from more)0
-rw-r--r--src/more.c2
m---------src/nice (renamed from nice)0
-rw-r--r--src/nice.c2
m---------src/nohup (renamed from nohup)0
-rw-r--r--src/nohup.c2
m---------src/od (renamed from od)0
-rw-r--r--src/od.c2
m---------src/paste (renamed from paste)0
-rw-r--r--src/paste.c2
m---------src/pathchk (renamed from pathchk)0
-rw-r--r--src/pathchk.c2
m---------src/printf (renamed from printf)0
-rw-r--r--src/printf.c2
m---------src/renice (renamed from renice)0
-rw-r--r--src/renice.c2
m---------src/rm (renamed from rm)0
-rw-r--r--src/rm.c2
m---------src/rmdir (renamed from rmdir)0
-rw-r--r--src/rmdir.c2
m---------src/sh (renamed from sh)0
-rw-r--r--src/sh.c74
m---------src/sleep (renamed from sleep)0
-rw-r--r--src/sleep.c2
m---------src/split (renamed from split)0
-rw-r--r--src/split.c2
m---------src/strings (renamed from strings)0
-rw-r--r--src/strings.c2
m---------src/stty (renamed from stty)0
-rw-r--r--src/stty.c2
m---------src/sum (renamed from sum)0
-rw-r--r--src/sum.c2
m---------src/tail (renamed from tail)0
-rw-r--r--src/tail.c2
m---------src/tee (renamed from tee)0
-rw-r--r--src/tee.c2
m---------src/tput (renamed from tput)0
-rw-r--r--src/tput.c3
m---------src/tr (renamed from tr)0
-rw-r--r--src/tr.c2
m---------src/uname (renamed from uname)0
-rw-r--r--src/uname.c2
m---------src/unlink (renamed from unlink)0
-rw-r--r--src/unlink.c2
m---------src/uudecode (renamed from uudecode)0
-rw-r--r--src/uudecode.c3
m---------src/uuencode (renamed from uuencode)0
-rw-r--r--src/uuencode.c3
m---------src/wc (renamed from wc)0
-rw-r--r--src/wc.c2
m---------src/who (renamed from who)0
-rw-r--r--src/who.c2
m---------src/write (renamed from write)0
-rw-r--r--src/write.c2
127 files changed, 176 insertions, 170 deletions
diff --git a/.gitmodules b/.gitmodules
index 7744368..80a5342 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,189 +1,189 @@
[submodule "tr"]
- path = tr
+ path = src/tr
url = git@gitlab.com:ung.org/bin/tr.git
[submodule "tee"]
- path = tee
+ path = src/tee
url = git@gitlab.com:ung.org/bin/tee.git
[submodule "tail"]
- path = tail
+ path = src/tail
url = git@gitlab.com:ung.org/bin/tail.git
[submodule "renice"]
- path = renice
+ path = src/renice
url = git@gitlab.com:ung.org/bin/renice.git
[submodule "mkfifo"]
- path = mkfifo
+ path = src/mkfifo
url = git@gitlab.com:ung.org/bin/mkfifo.git
[submodule "ln"]
- path = ln
+ path = src/ln
url = git@gitlab.com:ung.org/bin/ln.git
[submodule "sum"]
- path = sum
+ path = src/sum
url = git@gitlab.com:ung.org/bin/sum.git
[submodule "mkdir"]
- path = mkdir
+ path = src/mkdir
url = git@gitlab.com:ung.org/bin/mkdir.git
[submodule "paste"]
- path = paste
+ path = src/paste
url = git@gitlab.com:ung.org/bin/paste.git
[submodule "ex"]
- path = ex
+ path = src/ex
url = git@gitlab.com:ung.org/bin/ex.git
[submodule "printf"]
- path = printf
+ path = src/printf
url = git@gitlab.com:ung.org/bin/printf.git
[submodule "who"]
- path = who
+ path = src/who
url = git@gitlab.com:ung.org/bin/who.git
[submodule "pathchk"]
- path = pathchk
+ path = src/pathchk
url = git@gitlab.com:ung.org/bin/pathchk.git
[submodule "od"]
- path = od
+ path = src/od
url = git@gitlab.com:ung.org/bin/od.git
[submodule "nohup"]
- path = nohup
+ path = src/nohup
url = git@gitlab.com:ung.org/bin/nohup.git
[submodule "nice"]
- path = nice
+ path = src/nice
url = git@gitlab.com:ung.org/bin/nice.git
[submodule "ar"]
- path = ar
+ path = src/ar
url = git@gitlab.com:ung.org/bin/ar.git
[submodule "write"]
- path = write
+ path = src/write
url = git@gitlab.com:ung.org/bin/write.git
[submodule "wc"]
- path = wc
+ path = src/wc
url = git@gitlab.com:ung.org/bin/wc.git
[submodule "uuencode"]
- path = uuencode
+ path = src/uuencode
url = git@gitlab.com:ung.org/bin/uuencode.git
[submodule "uudecode"]
- path = uudecode
+ path = src/uudecode
url = git@gitlab.com:ung.org/bin/uudecode.git
[submodule "unlink"]
- path = unlink
+ path = src/unlink
url = git@gitlab.com:ung.org/bin/unlink.git
[submodule "uname"]
- path = uname
+ path = src/uname
url = git@gitlab.com:ung.org/bin/uname.git
[submodule "tput"]
- path = tput
+ path = src/tput
url = git@gitlab.com:ung.org/bin/tput.git
[submodule "stty"]
- path = stty
+ path = src/stty
url = git@gitlab.com:ung.org/bin/stty.git
[submodule "strings"]
- path = strings
+ path = src/strings
url = git@gitlab.com:ung.org/bin/strings.git
[submodule "split"]
- path = split
+ path = src/split
url = git@gitlab.com:ung.org/bin/split.git
[submodule "sleep"]
- path = sleep
+ path = src/sleep
url = git@gitlab.com:ung.org/bin/sleep.git
[submodule "sh"]
- path = sh
+ path = src/sh
url = git@gitlab.com:ung.org/bin/sh.git
[submodule "rmdir"]
- path = rmdir
+ path = src/rmdir
url = git@gitlab.com:ung.org/bin/rmdir.git
[submodule "rm"]
- path = rm
+ path = src/rm
url = git@gitlab.com:ung.org/bin/rm.git
[submodule "more"]
- path = more
+ path = src/more
url = git@gitlab.com:ung.org/bin/more.git
[submodule "ls"]
- path = ls
+ path = src/ls
url = git@gitlab.com:ung.org/bin/ls.git
[submodule "logname"]
- path = logname
+ path = src/logname
url = git@gitlab.com:ung.org/bin/logname.git
[submodule "logger"]
- path = logger
+ path = src/logger
url = git@gitlab.com:ung.org/bin/logger.git
[submodule "locale"]
- path = locale
+ path = src/locale
url = git@gitlab.com:ung.org/bin/locale.git
[submodule "link"]
- path = link
+ path = src/link
url = git@gitlab.com:ung.org/bin/link.git
[submodule "id"]
- path = id
+ path = src/id
url = git@gitlab.com:ung.org/bin/id.git
[submodule "iconv"]
- path = iconv
+ path = src/iconv
url = git@gitlab.com:ung.org/bin/iconv.git
[submodule "head"]
- path = head
+ path = src/head
url = git@gitlab.com:ung.org/bin/head.git
[submodule "grep"]
- path = grep
+ path = src/grep
url = git@gitlab.com:ung.org/bin/grep.git
[submodule "getconf"]
- path = getconf
+ path = src/getconf
url = git@gitlab.com:ung.org/bin/getconf.git
[submodule "file"]
- path = file
+ path = src/file
url = git@gitlab.com:ung.org/bin/file.git
[submodule "expand"]
- path = expand
+ path = src/expand
url = git@gitlab.com:ung.org/bin/expand.git
[submodule "env"]
- path = env
+ path = src/env
url = git@gitlab.com:ung.org/bin/env.git
[submodule "ed"]
- path = ed
+ path = src/ed
url = git@gitlab.com:ung.org/bin/ed.git
[submodule "du"]
- path = du
+ path = src/du
url = git@gitlab.com:ung.org/bin/du.git
[submodule "dirname"]
- path = dirname
+ path = src/dirname
url = git@gitlab.com:ung.org/bin/dirname.git
[submodule "dd"]
- path = dd
+ path = src/dd
url = git@gitlab.com:ung.org/bin/dd.git
[submodule "date"]
- path = date
+ path = src/date
url = git@gitlab.com:ung.org/bin/date.git
[submodule "ctags"]
- path = ctags
+ path = src/ctags
url = git@gitlab.com:ung.org/bin/ctags.git
[submodule "crontab"]
- path = crontab
+ path = src/crontab
url = git@gitlab.com:ung.org/bin/crontab.git
[submodule "cp"]
- path = cp
+ path = src/cp
url = git@gitlab.com:ung.org/bin/cp.git
[submodule "cmp"]
- path = cmp
+ path = src/cmp
url = git@gitlab.com:ung.org/bin/cmp.git
[submodule "cksum"]
- path = cksum
+ path = src/cksum
url = git@gitlab.com:ung.org/bin/cksum.git
[submodule "chown"]
- path = chown
+ path = src/chown
url = git@gitlab.com:ung.org/bin/chown.git
[submodule "chmod"]
- path = chmod
+ path = src/chmod
url = git@gitlab.com:ung.org/bin/chmod.git
[submodule "chgrp"]
- path = chgrp
+ path = src/chgrp
url = git@gitlab.com:ung.org/bin/chgrp.git
[submodule "cat"]
- path = cat
+ path = src/cat
url = git@gitlab.com:ung.org/bin/cat.git
[submodule "cal"]
- path = cal
+ path = src/cal
url = git@gitlab.com:ung.org/bin/cal.git
[submodule "bc"]
- path = bc
+ path = src/bc
url = git@gitlab.com:ung.org/bin/bc.git
[submodule "basename"]
- path = basename
+ path = src/basename
url = git@gitlab.com:ung.org/bin/basename.git
[submodule "asa"]
- path = asa
+ path = src/asa
url = git@gitlab.com:ung.org/bin/asa.git
diff --git a/ar b/src/ar
-Subproject 98d81f59877d9cc9c8f43082a88a7ea3356cf38
+Subproject 98d81f59877d9cc9c8f43082a88a7ea3356cf38
diff --git a/src/ar.c b/src/ar.c
index 851c34c..ef2ced8 100644
--- a/src/ar.c
+++ b/src/ar.c
@@ -1,2 +1,2 @@
#define main ar_main
-#include "../ar/ar.c"
+#include "ar/ar.c"
diff --git a/asa b/src/asa
-Subproject 540b9929adbd816c8134e622e74cc57e478a0f9
+Subproject 540b9929adbd816c8134e622e74cc57e478a0f9
diff --git a/src/asa.c b/src/asa.c
index d56384e..985a768 100644
--- a/src/asa.c
+++ b/src/asa.c
@@ -1,2 +1,2 @@
#define main asa_main
-#include "../asa/asa.c"
+#include "asa/asa.c"
diff --git a/basename b/src/basename
-Subproject bfd22b3a54a68d147a2dfc717c8c37a303b529f
+Subproject bfd22b3a54a68d147a2dfc717c8c37a303b529f
diff --git a/src/basename.c b/src/basename.c
index 60fc367..69b3d99 100644
--- a/src/basename.c
+++ b/src/basename.c
@@ -1,2 +1,2 @@
#define main basename_main
-#include "../basename/basename.c"
+#include "basename/basename.c"
diff --git a/bc b/src/bc
-Subproject 5794d1391b221444c6e0ca956f573574a1c92c0
+Subproject 5794d1391b221444c6e0ca956f573574a1c92c0
diff --git a/src/bc.c b/src/bc.c
index 1c975a9..61afec7 100644
--- a/src/bc.c
+++ b/src/bc.c
@@ -1,2 +1,2 @@
#define main bc_main
-#include "../bc/bc.c"
+#include "bc/bc.c"
diff --git a/cal b/src/cal
-Subproject 979d802b6f36c5cf73eb2be41105870e2978349
+Subproject 979d802b6f36c5cf73eb2be41105870e2978349
diff --git a/src/cal.c b/src/cal.c
index 49acecd..0ae8e90 100644
--- a/src/cal.c
+++ b/src/cal.c
@@ -1,2 +1,2 @@
#define main cal_main
-#include "../cal/cal.c"
+#include "cal/cal.c"
diff --git a/cat b/src/cat
-Subproject fdbcccc467f39bc281c30fcc1e679afa0fe2dfa
+Subproject fdbcccc467f39bc281c30fcc1e679afa0fe2dfa
diff --git a/src/cat.c b/src/cat.c
index e16ab54..920a6c7 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -1,2 +1,2 @@
#define main cat_main
-#include "../cat/cat.c"
+#include "cat/cat.c"
diff --git a/chgrp b/src/chgrp
-Subproject 6ff4ec00482f299735276268853ff75311f7509
+Subproject 6ff4ec00482f299735276268853ff75311f7509
diff --git a/src/chgrp.c b/src/chgrp.c
index 1fbc006..a009e3c 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -1,2 +1,2 @@
#define main chgrp_main
-#include "../chgrp/chgrp.c"
+#include "chgrp/chgrp.c"
diff --git a/chmod b/src/chmod
-Subproject 0d948721acd30000b621a4246417f7d3c930490
+Subproject 0d948721acd30000b621a4246417f7d3c930490
diff --git a/src/chmod.c b/src/chmod.c
index d59a326..623a823 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main chmod_main
-#include "../chmod/chmod.c"
+#include "chmod/chmod.c"
diff --git a/chown b/src/chown
-Subproject df23ba33bd4d1af0a17f607dedd262bfabf3a13
+Subproject df23ba33bd4d1af0a17f607dedd262bfabf3a13
diff --git a/src/chown.c b/src/chown.c
index 4beef3f..a3abfc9 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main chown_main
-#include "../chown/chown.c"
+#include "chown/chown.c"
diff --git a/cksum b/src/cksum
-Subproject 260e33f13acbdd2bbedf97a2c5e567bdc099d6d
+Subproject 260e33f13acbdd2bbedf97a2c5e567bdc099d6d
diff --git a/src/cksum.c b/src/cksum.c
index 67b1a59..2d5d65b 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -1,2 +1,2 @@
#define main cksum_main
-#include "../cksum/cksum.c"
+#include "cksum/cksum.c"
diff --git a/cmp b/src/cmp
-Subproject 0defa702d64b5454456fb450bfed291c1057e30
+Subproject 0defa702d64b5454456fb450bfed291c1057e30
diff --git a/src/cmp.c b/src/cmp.c
index 53290d6..088c4c8 100644
--- a/src/cmp.c
+++ b/src/cmp.c
@@ -1,2 +1,2 @@
#define main cmp_main
-#include "../cmp/cmp.c"
+#include "cmp/cmp.c"
diff --git a/cp b/src/cp
-Subproject 2dc7b09f9837f88d74e826288ac225dd0a1cca0
+Subproject 2dc7b09f9837f88d74e826288ac225dd0a1cca0
diff --git a/src/cp.c b/src/cp.c
index b321c1a..31391f7 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -1,2 +1,2 @@
#define main cp_main
-#include "../cp/cp.c"
+#include "cp/cp.c"
diff --git a/crontab b/src/crontab
-Subproject 3a97584dc3972fc862fc6c53752fc0341960645
+Subproject 3a97584dc3972fc862fc6c53752fc0341960645
diff --git a/src/crontab.c b/src/crontab.c
index 62b4c62..d531970 100644
--- a/src/crontab.c
+++ b/src/crontab.c
@@ -1,2 +1,2 @@
#define main crontab_main
-#include "../crontab/crontab.c"
+#include "crontab/crontab.c"
diff --git a/ctags b/src/ctags
-Subproject c15422a3c8f5134e216ff23ee7b5841c3bb738d
+Subproject c15422a3c8f5134e216ff23ee7b5841c3bb738d
diff --git a/src/ctags.c b/src/ctags.c
index ff6ed49..8de5e83 100644
--- a/src/ctags.c
+++ b/src/ctags.c
@@ -1,2 +1,2 @@
#define main ctags_main
-#include "../ctags/ctags.c"
+#include "ctags/ctags.c"
diff --git a/date b/src/date
-Subproject 5d1afbf0b40e50a3c1dee8f9eca88cc56f64300
+Subproject 5d1afbf0b40e50a3c1dee8f9eca88cc56f64300
diff --git a/src/date.c b/src/date.c
index d69170d..2240bb3 100644
--- a/src/date.c
+++ b/src/date.c
@@ -1,2 +1,2 @@
#define main date_main
-#include "../date/date.c"
+#include "date/date.c"
diff --git a/dd b/src/dd
-Subproject 56367b8a61ba71c3d86bc4e5ff2cd0e688d59d8
+Subproject 56367b8a61ba71c3d86bc4e5ff2cd0e688d59d8
diff --git a/src/dd.c b/src/dd.c
index c9f840b..41e415a 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -1,2 +1,2 @@
#define main dd_main
-#include "../dd/dd.c"
+#include "dd/dd.c"
diff --git a/dirname b/src/dirname
-Subproject ef19c7338171c93cb13d08bf3860ee41ae826a9
+Subproject ef19c7338171c93cb13d08bf3860ee41ae826a9
diff --git a/src/dirname.c b/src/dirname.c
index 85c46b5..34dc9d8 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -1,2 +1,2 @@
#define main dirname_main
-#include "../dirname/dirname.c"
+#include "dirname/dirname.c"
diff --git a/du b/src/du
-Subproject dac9c416515dfde8d00eab4a0ad63b7752e0e85
+Subproject dac9c416515dfde8d00eab4a0ad63b7752e0e85
diff --git a/src/du.c b/src/du.c
index 6a4f47c..93d9bcd 100644
--- a/src/du.c
+++ b/src/du.c
@@ -1,2 +1,2 @@
#define main du_main
-#include "../du/du.c"
+#include "du/du.c"
diff --git a/ed b/src/ed
-Subproject 94375bb322851a501f96814140916158120997d
+Subproject 94375bb322851a501f96814140916158120997d
diff --git a/src/ed.c b/src/ed.c
index 3283657..45da992 100644
--- a/src/ed.c
+++ b/src/ed.c
@@ -1,9 +1,9 @@
#define main ed_main
-#include "../ed/ed.c"
-#include "../ed/commands.c"
-#include "../ed/env.c"
-#include "../ed/input.c"
-#include "../ed/io.c"
-#include "../ed/re.c"
-#include "../ed/signals.c"
-#include "../ed/stubs.c"
+#include "ed/ed.c"
+#include "ed/commands.c"
+#include "ed/env.c"
+#include "ed/input.c"
+#include "ed/io.c"
+#include "ed/re.c"
+#include "ed/signals.c"
+#include "ed/stubs.c"
diff --git a/env b/src/env
-Subproject f4797b8b4549cd91b6c6b7d76b5e21aabbfc409
+Subproject f4797b8b4549cd91b6c6b7d76b5e21aabbfc409
diff --git a/src/env.c b/src/env.c
index 04e1838..0e56547 100644
--- a/src/env.c
+++ b/src/env.c
@@ -1,2 +1,2 @@
#define main env_main
-#include "../env/env.c"
+#include "env/env.c"
diff --git a/ex b/src/ex
-Subproject 034f6e0b13669923237a4478c4c33c1f8aedc7e
+Subproject 034f6e0b13669923237a4478c4c33c1f8aedc7e
diff --git a/src/ex.c b/src/ex.c
index c8f74e3..cddb68e 100644
--- a/src/ex.c
+++ b/src/ex.c
@@ -1,2 +1,2 @@
#define main ex_main
-#include "../ex/ex.c"
+#include "ex/ex.c"
diff --git a/expand b/src/expand
-Subproject fbee7ba345536feaf637af8aaa90a347c1f4eed
+Subproject fbee7ba345536feaf637af8aaa90a347c1f4eed
diff --git a/src/expand.c b/src/expand.c
index e7aaf30..2f4bb16 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -1,2 +1,2 @@
#define main expand_main
-#include "../expand/expand.c"
+#include "expand/expand.c"
diff --git a/file b/src/file
-Subproject 0c77d8d0e691c446a6bdcb9fa3dcfe4736587fa
+Subproject 0c77d8d0e691c446a6bdcb9fa3dcfe4736587fa
diff --git a/src/file.c b/src/file.c
index 369adde..3cb7e35 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1,3 +1,3 @@
#define main file_main
-#include "../file/file.c"
-#include "../file/magic.c"
+#include "file/file.c"
+#include "file/magic.c"
diff --git a/getconf b/src/getconf
-Subproject cc43f15991d7095aea944d4d083a064f23c7a24
+Subproject cc43f15991d7095aea944d4d083a064f23c7a24
diff --git a/src/getconf.c b/src/getconf.c
index 411cc1b..b08fccc 100644
--- a/src/getconf.c
+++ b/src/getconf.c
@@ -1,2 +1,2 @@
#define main getconf_main
-#include "../getconf/getconf.c"
+#include "getconf/getconf.c"
diff --git a/grep b/src/grep
-Subproject d3dcaf3619f0eec15c2145408ccb1397fc2c453
+Subproject d3dcaf3619f0eec15c2145408ccb1397fc2c453
diff --git a/src/grep.c b/src/grep.c
index c77eab5..8f1a5aa 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main grep_main
-#include "../grep/grep.c"
+#include "grep/grep.c"
diff --git a/head b/src/head
-Subproject 41ae16c72828912c8f7710f9b0b961e754805d4
+Subproject 41ae16c72828912c8f7710f9b0b961e754805d4
diff --git a/src/head.c b/src/head.c
index 7f34a0f..336fb7e 100644
--- a/src/head.c
+++ b/src/head.c
@@ -1,2 +1,2 @@
#define main head_main
-#include "../head/head.c"
+#include "head/head.c"
diff --git a/iconv b/src/iconv
-Subproject dae4c0745246a5e1a512ecdbe76c70d892b7937
+Subproject dae4c0745246a5e1a512ecdbe76c70d892b7937
diff --git a/src/iconv.c b/src/iconv.c
index f9c1052..94a8856 100644
--- a/src/iconv.c
+++ b/src/iconv.c
@@ -1,2 +1,2 @@
#define main iconv_main
-#include "../iconv/iconv.c"
+#include "iconv/iconv.c"
diff --git a/id b/src/id
-Subproject f8d205dd3117aef8cd799608a93ba36944b990b
+Subproject f8d205dd3117aef8cd799608a93ba36944b990b
diff --git a/src/id.c b/src/id.c
index 1a50ad2..b760e39 100644
--- a/src/id.c
+++ b/src/id.c
@@ -1,2 +1,2 @@
#define main id_main
-#include "../id/id.c"
+#include "id/id.c"
diff --git a/link b/src/link
-Subproject e14e15c4f6a62b253da26279e7cc616e19caa70
+Subproject e14e15c4f6a62b253da26279e7cc616e19caa70
diff --git a/src/link.c b/src/link.c
index a92bf3f..f9dd5a1 100644
--- a/src/link.c
+++ b/src/link.c
@@ -1,2 +1,2 @@
#define main link_main
-#include "../link/link.c"
+#include "link/link.c"
diff --git a/ln b/src/ln
-Subproject 69b820fa2c271f1eafaf692a0a8e57e22e83daa
+Subproject 69b820fa2c271f1eafaf692a0a8e57e22e83daa
diff --git a/src/ln.c b/src/ln.c
index 498e689..9f6a1da 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -1,2 +1,2 @@
#define main ln_main
-#include "../ln/ln.c"
+#include "ln/ln.c"
diff --git a/locale b/src/locale
-Subproject f13d6dd9129f4fed3baf8d387cd11f98e005713
+Subproject f13d6dd9129f4fed3baf8d387cd11f98e005713
diff --git a/src/locale.c b/src/locale.c
index 626f264..a7cc281 100644
--- a/src/locale.c
+++ b/src/locale.c
@@ -1,2 +1,2 @@
#define main locale_main
-#include "../locale/locale.c"
+#include "locale/locale.c"
diff --git a/logger b/src/logger
-Subproject 9f17677561536bd0705e160a4cfa5d0fb9b722c
+Subproject 9f17677561536bd0705e160a4cfa5d0fb9b722c
diff --git a/src/logger.c b/src/logger.c
index 5d81d91..e9fe0a0 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -1,2 +1,2 @@
#define main logger_main
-#include "../logger/logger.c"
+#include "logger/logger.c"
diff --git a/logname b/src/logname
-Subproject 5ab8b23ca8a67ecce0c500d11cb2d323e897897
+Subproject 5ab8b23ca8a67ecce0c500d11cb2d323e897897
diff --git a/src/logname.c b/src/logname.c
index 662b5dd..586de61 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -1,2 +1,2 @@
#define main logname_main
-#include "../logname/logname.c"
+#include "logname/logname.c"
diff --git a/ls b/src/ls
-Subproject aaee10ba70130484d23f7c55d4a487b949f6c07
+Subproject aaee10ba70130484d23f7c55d4a487b949f6c07
diff --git a/src/ls.c b/src/ls.c
index d6af9ff..c849a29 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1,2 +1,2 @@
#define main ls_main
-#include "../ls/ls.c"
+#include "ls/ls.c"
diff --git a/mkdir b/src/mkdir
-Subproject 5e5371907e949285a80fb0ba538cdf59e98a667
+Subproject 5e5371907e949285a80fb0ba538cdf59e98a667
diff --git a/src/mkdir.c b/src/mkdir.c
index 928f6ec..117e049 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -1,2 +1,2 @@
#define main mkdir_main
-#include "../mkdir/mkdir.c"
+#include "mkdir/mkdir.c"
diff --git a/mkfifo b/src/mkfifo
-Subproject 7fead8fe8ceec17e27f11739cc0355ae782f1fe
+Subproject 7fead8fe8ceec17e27f11739cc0355ae782f1fe
diff --git a/src/mkfifo.c b/src/mkfifo.c
index 089a62f..aaf5211 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -1,2 +1,2 @@
#define main mkfifo_main
-#include "../mkfifo/mkfifo.c"
+#include "mkfifo/mkfifo.c"
diff --git a/more b/src/more
-Subproject c3249e2c8d30bb65a39d851ad3d763a1c7c974f
+Subproject c3249e2c8d30bb65a39d851ad3d763a1c7c974f
diff --git a/src/more.c b/src/more.c
index cbc0f3c..3b2a182 100644
--- a/src/more.c
+++ b/src/more.c
@@ -1,2 +1,2 @@
#define main more_main
-#include "../more/more.c"
+#include "more/more.c"
diff --git a/nice b/src/nice
-Subproject 02b28f6a45b46627a68086f6eba43c03ef6b8c8
+Subproject 02b28f6a45b46627a68086f6eba43c03ef6b8c8
diff --git a/src/nice.c b/src/nice.c
index f9684f2..3319003 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -1,2 +1,2 @@
#define main nice_main
-#include "../nice/nice.c"
+#include "nice/nice.c"
diff --git a/nohup b/src/nohup
-Subproject 1d00f6a1717826999472f9f7192e7372f34f5e9
+Subproject 1d00f6a1717826999472f9f7192e7372f34f5e9
diff --git a/src/nohup.c b/src/nohup.c
index 6a77df6..eb0eda2 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -1,2 +1,2 @@
#define main nohup_main
-#include "../nohup/nohup.c"
+#include "nohup/nohup.c"
diff --git a/od b/src/od
-Subproject 6164e7ac4af42a2a9254fce75adc3c82dae0446
+Subproject 6164e7ac4af42a2a9254fce75adc3c82dae0446
diff --git a/src/od.c b/src/od.c
index 553596c..3ae8715 100644
--- a/src/od.c
+++ b/src/od.c
@@ -1,2 +1,2 @@
#define main od_main
-#include "../od/od.c"
+#include "od/od.c"
diff --git a/paste b/src/paste
-Subproject 3fdbed8a5fe7908100e40aeefef8358713860a2
+Subproject 3fdbed8a5fe7908100e40aeefef8358713860a2
diff --git a/src/paste.c b/src/paste.c
index 230c765..8688f72 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -1,2 +1,2 @@
#define main paste_main
-#include "../paste/paste.c"
+#include "paste/paste.c"
diff --git a/pathchk b/src/pathchk
-Subproject 05901bc084d78604661376286ce682f036545a5
+Subproject 05901bc084d78604661376286ce682f036545a5
diff --git a/src/pathchk.c b/src/pathchk.c
index 0d68a70..cfacf67 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -1,2 +1,2 @@
#define main pathchk_main
-#include "../pathchk/pathchk.c"
+#include "pathchk/pathchk.c"
diff --git a/printf b/src/printf
-Subproject 4a33ca6b85013f69ad89418cac42ff86a0e3ea8
+Subproject 4a33ca6b85013f69ad89418cac42ff86a0e3ea8
diff --git a/src/printf.c b/src/printf.c
index 42b2190..28f5444 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1,2 +1,2 @@
#define main unused_main
-#include "../printf/printf.c"
+#include "printf/printf.c"
diff --git a/renice b/src/renice
-Subproject 7b688a249aa3ea937dbe5fbe0eb3c34cebc6fab
+Subproject 7b688a249aa3ea937dbe5fbe0eb3c34cebc6fab
diff --git a/src/renice.c b/src/renice.c
index 8c77a14..84cc5c9 100644
--- a/src/renice.c
+++ b/src/renice.c
@@ -1,2 +1,2 @@
#define main renice_main
-#include "../renice/renice.c"
+#include "renice/renice.c"
diff --git a/rm b/src/rm
-Subproject 3c3f70895ed13e1c300f0a08f939879d53085a6
+Subproject 3c3f70895ed13e1c300f0a08f939879d53085a6
diff --git a/src/rm.c b/src/rm.c
index 5e8e86e..d67a546 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -1,2 +1,2 @@
#define main rm_main
-#include "../rm/rm.c"
+#include "rm/rm.c"
diff --git a/rmdir b/src/rmdir
-Subproject d855e1acb75d277ad39d595d291e8d1d2aac0b7
+Subproject d855e1acb75d277ad39d595d291e8d1d2aac0b7
diff --git a/src/rmdir.c b/src/rmdir.c
index 48f18e7..4985beb 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -1,2 +1,2 @@
#define main rmdir_main
-#include "../rmdir/rmdir.c"
+#include "rmdir/rmdir.c"
diff --git a/sh b/src/sh
-Subproject ab6dc14c2ea35d6c1a0415dbfafe7dd503c989d
+Subproject ab6dc14c2ea35d6c1a0415dbfafe7dd503c989d
diff --git a/src/sh.c b/src/sh.c
index 058af28..2400a62 100644
--- a/src/sh.c
+++ b/src/sh.c
@@ -1,40 +1,40 @@
#include "mains.h"
#include "builtins.h"
-#include "../sh/alias.c"
-#include "../sh/bg.c"
-#include "../sh/builtins.c"
-#include "../sh/cd.c"
-#include "../sh/command.c"
-#include "../sh/dot.c"
-#include "../sh/eval.c"
-#include "../sh/exec.c"
-#include "../sh/exit.c"
-#include "../sh/export.c"
-#include "../sh/false.c"
-#include "../sh/fc.c"
-#include "../sh/fg.c"
-#include "../sh/getopts.c"
-#include "../sh/hash.c"
-#include "../sh/init.c"
-#include "../sh/interactive.c"
-#include "../sh/jobs.c"
-#include "../sh/kill.c"
-#include "../sh/main.c"
-#include "../sh/newgrp.c"
-#include "../sh/parse.c"
-#include "../sh/pwd.c"
-#include "../sh/read.c"
-#include "../sh/readonly.c"
-#include "../sh/set.c"
-#include "../sh/sh.tab.c"
-#include "../sh/sh.yy.c"
-#include "../sh/shift.c"
-#include "../sh/times.c"
-#include "../sh/trap.c"
-#include "../sh/true.c"
-#include "../sh/type.c"
-#include "../sh/ulimit.c"
-#include "../sh/umask.c"
-#include "../sh/unset.c"
-#include "../sh/wait.c"
+#include "sh/alias.c"
+#include "sh/bg.c"
+#include "sh/builtins.c"
+#include "sh/cd.c"
+#include "sh/command.c"
+#include "sh/dot.c"
+#include "sh/eval.c"
+#include "sh/exec.c"
+#include "sh/exit.c"
+#include "sh/export.c"
+#include "sh/false.c"
+#include "sh/fc.c"
+#include "sh/fg.c"
+#include "sh/getopts.c"
+#include "sh/hash.c"
+#include "sh/init.c"
+#include "sh/interactive.c"
+#include "sh/jobs.c"
+#include "sh/kill.c"
+#include "sh/main.c"
+#include "sh/newgrp.c"
+#include "sh/parse.c"
+#include "sh/pwd.c"
+#include "sh/read.c"
+#include "sh/readonly.c"
+#include "sh/set.c"
+#include "sh/sh.tab.c"
+#include "sh/sh.yy.c"
+#include "sh/shift.c"
+#include "sh/times.c"
+#include "sh/trap.c"
+#include "sh/true.c"
+#include "sh/type.c"
+#include "sh/ulimit.c"
+#include "sh/umask.c"
+#include "sh/unset.c"
+#include "sh/wait.c"
diff --git a/sleep b/src/sleep
-Subproject 7381b33fbaad4d5926ea83a7c88b0f04a57a978
+Subproject 7381b33fbaad4d5926ea83a7c88b0f04a57a978
diff --git a/src/sleep.c b/src/sleep.c
index f01a068..6c80e16 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -1,2 +1,2 @@
#define main sleep_main
-#include "../sleep/sleep.c"
+#include "sleep/sleep.c"
diff --git a/split b/src/split
-Subproject e67e58f6c2f94ee4294b4a922f14cb2dda0ff7b
+Subproject e67e58f6c2f94ee4294b4a922f14cb2dda0ff7b
diff --git a/src/split.c b/src/split.c
index 09b291c..19de889 100644
--- a/src/split.c
+++ b/src/split.c
@@ -1,2 +1,2 @@
#define main split_main
-#include "../split/split.c"
+#include "split/split.c"
diff --git a/strings b/src/strings
-Subproject e04910c0a714c5beeb181349bcc3abe2fc8fa18
+Subproject e04910c0a714c5beeb181349bcc3abe2fc8fa18
diff --git a/src/strings.c b/src/strings.c
index ffa3c50..fef0b86 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -1,2 +1,2 @@
#define main strings_main
-#include "../strings/strings.c"
+#include "strings/strings.c"
diff --git a/stty b/src/stty
-Subproject db56f96773e2c69ff62cb2872124aaac0d3c49c
+Subproject db56f96773e2c69ff62cb2872124aaac0d3c49c
diff --git a/src/stty.c b/src/stty.c
index 6a3a5a0..a43299c 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -1,2 +1,2 @@
#define main stty_main
-#include "../stty/stty.c"
+#include "stty/stty.c"
diff --git a/sum b/src/sum
-Subproject f54d7529ff00509850393dd3acacc8d3f8810c8
+Subproject f54d7529ff00509850393dd3acacc8d3f8810c8
diff --git a/src/sum.c b/src/sum.c
index 8d9f5b6..5137f09 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -1,2 +1,2 @@
#define main sum_main
-#include "../sum/sum.c"
+#include "sum/sum.c"
diff --git a/tail b/src/tail
-Subproject 9c94af210bd9d0836a6e8699b123ee1a1109e2b
+Subproject 9c94af210bd9d0836a6e8699b123ee1a1109e2b
diff --git a/src/tail.c b/src/tail.c
index 8386925..a53aca7 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1,2 +1,2 @@
#define main tail_main
-#include "../tail/tail.c"
+#include "tail/tail.c"
diff --git a/tee b/src/tee
-Subproject 2e33b2a55355d17c2f20b0eab9a014a7687497f
+Subproject 2e33b2a55355d17c2f20b0eab9a014a7687497f
diff --git a/src/tee.c b/src/tee.c
index f1790a1..e4a925c 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -1,2 +1,2 @@
#define main tee_main
-#include "../tee/tee.c"
+#include "tee/tee.c"
diff --git a/tput b/src/tput
-Subproject fcf1447ae723915abde5a7c0abacd1a3c9aaa14
+Subproject fcf1447ae723915abde5a7c0abacd1a3c9aaa14
diff --git a/src/tput.c b/src/tput.c
index 79cd1ec..cc62781 100644
--- a/src/tput.c
+++ b/src/tput.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main tput_main
-#include "../tput/tput.c"
+#include "tput/tput.c"
diff --git a/tr b/src/tr
-Subproject 7326b6bc6b5607c854039c3379b429c91a89a60
+Subproject 7326b6bc6b5607c854039c3379b429c91a89a60
diff --git a/src/tr.c b/src/tr.c
index 723d796..4697f56 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1,2 +1,2 @@
#define main tr_main
-#include "../tr/tr.c"
+#include "tr/tr.c"
diff --git a/uname b/src/uname
-Subproject acb2ef5f83554899af3b0e2b326bce70326a14d
+Subproject acb2ef5f83554899af3b0e2b326bce70326a14d
diff --git a/src/uname.c b/src/uname.c
index 300b797..a0acea2 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -1,2 +1,2 @@
#define main uname_main
-#include "../uname/uname.c"
+#include "uname/uname.c"
diff --git a/unlink b/src/unlink
-Subproject ba1abd58f61848b2bd7c54024a1ea00b82e7794
+Subproject ba1abd58f61848b2bd7c54024a1ea00b82e7794
diff --git a/src/unlink.c b/src/unlink.c
index d9c8550..ef83db2 100644
--- a/src/unlink.c
+++ b/src/unlink.c
@@ -1,2 +1,2 @@
#define main unlink_main
-#include "../unlink/unlink.c"
+#include "unlink/unlink.c"
diff --git a/uudecode b/src/uudecode
-Subproject 73afc3baaa3c109dc901157c19baac6cecf964a
+Subproject 73afc3baaa3c109dc901157c19baac6cecf964a
diff --git a/src/uudecode.c b/src/uudecode.c
index 117b32e..ba1dad3 100644
--- a/src/uudecode.c
+++ b/src/uudecode.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main uudecode_main
-#include "../uudecode/uudecode.c"
+#include "uudecode/uudecode.c"
diff --git a/uuencode b/src/uuencode
-Subproject b38eea6c23fcda728756fde78849e2b156d13ac
+Subproject b38eea6c23fcda728756fde78849e2b156d13ac
diff --git a/src/uuencode.c b/src/uuencode.c
index 4f1327e..cf2c8fe 100644
--- a/src/uuencode.c
+++ b/src/uuencode.c
@@ -1,2 +1,3 @@
+#define _XOPEN_SOURCE 700
#define main uuencode_main
-#include "../uuencode/uuencode.c"
+#include "uuencode/uuencode.c"
diff --git a/wc b/src/wc
-Subproject f6068e29003d70021dc8cd2cc61fbd55a24b4a4
+Subproject f6068e29003d70021dc8cd2cc61fbd55a24b4a4
diff --git a/src/wc.c b/src/wc.c
index 0e0b5c3..a69780b 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -1,2 +1,2 @@
#define main wc_main
-#include "../wc/wc.c"
+#include "wc/wc.c"
diff --git a/who b/src/who
-Subproject 66b91392b453bfc602ac01de0de309031fd3683
+Subproject 66b91392b453bfc602ac01de0de309031fd3683
diff --git a/src/who.c b/src/who.c
index 816aa7d..19889c9 100644
--- a/src/who.c
+++ b/src/who.c
@@ -1,2 +1,2 @@
#define main who_main
-#include "../who/who.c"
+#include "who/who.c"
diff --git a/write b/src/write
-Subproject cd4e520cc1b852b25f9164ae73c1f0522aba5df
+Subproject cd4e520cc1b852b25f9164ae73c1f0522aba5df
diff --git a/src/write.c b/src/write.c
index f44a7bd..35f6b9d 100644
--- a/src/write.c
+++ b/src/write.c
@@ -1,2 +1,2 @@
#define main write_main
-#include "../write/write.c"
+#include "write/write.c"