Joseph Crail
b0f531c7a3
Fix sort.
...
Minor corrections: upgrade to new libraries, remove unused features, use
new slicing syntax.
2015-05-03 17:42:01 -04:00
Joseph Crail
6de22f91a9
Update tty's options to conform to GNU version.
2015-05-03 17:11:42 -04:00
Joseph Crail
e002caedc3
Ignore Cargo dependency directories.
2015-05-03 17:11:29 -04:00
Michael Gehring
88ab6cfff7
Merge pull request #563 from jbcrail/fix-printenv
...
Fix printenv.
2015-05-03 11:49:13 +02:00
Michael Gehring
b830fc87b6
Merge pull request #564 from jbcrail/fix-hostid-pwd
...
Fix hostid and pwd.
2015-05-03 11:40:07 +02:00
Joseph Crail
965a770841
Remove quotes from current directory.
2015-05-02 21:05:30 -04:00
Joseph Crail
c4ae971e8c
Fix hostid and pwd.
...
Minor library upgrades and whitespace corrections.
2015-05-01 22:00:53 -04:00
Joseph Crail
930896bac1
Fix printenv.
...
Minor corrections and upgrade to new env variable module.
2015-05-01 15:54:49 -04:00
Heather
2f9f83230d
Merge pull request #562 from jbcrail/fix-groups-logname
...
Fix groups and logname.
2015-05-01 17:13:57 +03:00
Joseph Crail
c7d07315b8
Fix groups and logname.
...
Minor upgrades and whitespace corrections.
2015-04-30 17:56:35 -04:00
Heather
521166cff9
Merge pull request #561 from jbcrail/fix-tty
...
Fix tty.
2015-05-01 00:22:49 +03:00
Joseph Crail
3465525d55
Fix tty.
...
I made minor corrections to upgrade to Rust nightly build.
2015-04-30 17:06:38 -04:00
Alex Lyon
4a6b7d33cb
Merge pull request #557 from jbcrail/fix-truncate
...
Fix truncate and related tests.
2015-04-29 18:50:05 -07:00
Alex Lyon
f34920db32
Merge pull request #559 from jbcrail/fix-dirname
...
Fix dirname.
2015-04-29 18:35:39 -07:00
Joseph Crail
27947c9d2d
Fix dirname.
2015-04-29 21:20:08 -04:00
Joseph Crail
5ec7f28625
Fix truncate and related tests.
2015-04-29 19:23:50 -04:00
Heather
3eb1d124ec
Merge pull request #551 from jbcrail/fix-head-tail
...
Fix head and tail.
2015-04-29 23:16:09 +03:00
Joseph Crail
c6cfca8366
Remove redundant length checks.
2015-04-29 02:37:29 -04:00
Joseph Crail
3b09af815d
Fix head and tail.
...
I upgraded to the recent Rust release. The only major change was the
reduction of the sleep millisecond resolution from u64 to u32 (this
matches the thread::sleep_ms() method).
2015-04-29 02:37:29 -04:00
Heather
1a6f8105e3
Merge pull request #553 from kwantam/master
...
more feature cleanup ; fix more utils
2015-04-29 09:32:52 +03:00
kwantam
91827a594a
fix tr
and its test
...
In addition, this commit substantially reduces the number
of allocations that tr does when building the substitution
tables.
2015-04-29 01:31:16 -04:00
kwantam
8e2788bd39
fix/rewrite expand
...
This is a reworked version of expand. I did this for two main
reasons:
1. The previous version assumed the input was UTF-8. This
version is compatible with both UTF-8 and non-UTF-8 inputs.
2. This version has a new flag, -U, which forces expand to
treat input as 8-bit ASCII rather than interpreting it
as UTF-8. This might be handy in some cases.
2015-04-29 01:09:27 -04:00
kwantam
feee266b20
fix/rewrite unexpand
and its tests
...
This is a reworked version of unexpand. I did this for two main
reasons:
1. The previous version of unexpand had issues correctly computing
tabstops when the `-a` flag was supplied.
2. The previous version assumed the input was UTF-8. This version works
with non-UTF-8 inputs.
3. This version has a new flag, -U, which forces unexpand to
treat input as 8-bit ASCII rather than interpreting it
as UTF-8. This might be handy in some cases.
2015-04-29 01:09:27 -04:00
kwantam
ec4e3a60e4
fix unlink
2015-04-29 01:09:26 -04:00
kwantam
d1f594eb68
remove box_syntax feature from fmt
, base64
, cat
2015-04-29 01:09:26 -04:00
Heather
baaa96a871
Merge pull request #555 from jbcrail/fix-tsort
...
Fix tsort.
2015-04-29 07:49:50 +03:00
Joseph Crail
2c4fd7ae23
Fix tsort.
...
I upgraded to the recent Rust release.
2015-04-29 00:01:46 -04:00
Alex Lyon
b827ccb901
Merge pull request #552 from kwantam/master
...
fix `whoami`, `users`, `wc`, `uptime`, `uname`
2015-04-27 19:36:37 -07:00
kwantam
2e237dd6bb
fix uname
2015-04-27 22:06:19 -04:00
kwantam
1d62f35b45
fix uptime
2015-04-27 22:00:19 -04:00
kwantam
a122849e7c
fix wc
2015-04-27 18:19:56 -04:00
kwantam
143aea72ee
fix users
2015-04-27 17:38:39 -04:00
kwantam
09937b66b9
fix whoami
2015-04-27 17:31:53 -04:00
Heather
9d31fe83e6
Merge pull request #549 from kwantam/master
...
remove `#![feature()]` where possible in working utils ; fix `yes` and `uniq`
2015-04-27 23:07:10 +03:00
kwantam
8cd81ec418
update uniq
2015-04-27 15:27:15 -04:00
kwantam
05520e69cb
clean up #![features]
...
For the most part, this commit removes the `collections` feature.
In some places I've removed other features where the effort to do
so was pretty low.
2015-04-27 15:27:15 -04:00
kwantam
de28072140
update yes
...
This commit makes `yes` build on recent nightly.
2015-04-27 15:27:15 -04:00
Heather
c50e8ee8cb
Merge pull request #548 from jbcrail/add-build-check
...
Add a new makefile rule to check for build errors.
2015-04-27 19:33:09 +03:00
Joseph Crail
61ddb04314
Add documentation for new rule.
2015-04-27 12:02:21 -04:00
Joseph Crail
5c1de087af
Add a new makefile rule to check for build errors.
...
This rule will build each program, ignore all output, and return pass or
fail depending on whether the build has errors. This is helpful for
finding out which programs need to be fixed when a new Rust nightly
build inevitably breaks everything.
2015-04-27 01:48:03 -04:00
Heather
081a546fb3
Merge pull request #547 from kwantam/master
...
working chroot implementation
2015-04-27 07:48:10 +03:00
kwantam
970857ccbe
working chroot implementation
2015-04-27 00:06:12 -04:00
Heather
0de3e06d46
Merge pull request #545 from kwantam/master
...
quick Makefile tweak ; update chmod ; update chroot
2015-04-26 23:37:28 +03:00
kwantam
664f7d474e
update chroot (not quite working yet)
2015-04-26 16:12:19 -04:00
kwantam
06f1b38c91
update chmod for latest stdlib changes
2015-04-26 16:12:19 -04:00
kwantam
d54ee9689d
do not consider deps for EXESs when making goal "test"
...
In the normal case, one does, e.g.,
make TEST="cat" test
This means that the value of EXES in the Makefile contains all
possible targets, which means many prerequisites that aren't
required get built.
With this change, when the `test` target is in effect (and,
in particular, *only* the test target), then the value of
EXES is ignored when calculating dependencies. Otherwise,
the values of EXES and TESTS are both considered.
2015-04-26 16:12:19 -04:00
Heather
4727cc59d9
Merge pull request #544 from ctjhoa/new_io
...
chmod + chroot new io
2015-04-26 21:32:16 +03:00
Camille TJHOA
c8365f78b4
chroot new_io
2015-04-26 20:23:29 +02:00
Camille TJHOA
d990efff83
chmod new_io
2015-04-26 20:03:37 +02:00
Alex Lyon
c24b14e0a0
Merge pull request #543 from kwantam/master
...
refactor Makefile to use Cargo to build all dependencies; make seq build
2015-04-25 19:23:01 -07:00