Commit Graph

53 Commits

Author SHA1 Message Date
FRIGN
bafd41e1cf Add printf(1)
This is a particularly interesting program.
I managed to implement everything according to POSIX except how
octal escapes are specified in the standard, which is yet another
format compared to the one demanded for tr(1).
This not only confuses people, it also adds unnecessary cruft
for no real gain.
So in order to be able to use unescape() easily and for consistency,
I used our initial format \o[oo] instead of \0[ooo].

Marked as optional is UTF-8 support for %c in the POSIX specification.
Given how well-developed libutf has become, doing this here was more
or less trivial, putting us yet again ahead of the competition.
2015-02-15 14:46:58 +01:00
FRIGN
bf518929b9 Remove runetype and to*rune section from TODO 2015-02-14 21:56:19 +01:00
Evan Gates
bc07f1b9b5 Add initial implementation of sed(1)
No manpage yet.
2015-02-10 10:35:22 +00:00
FRIGN
1004778757 Update TODO with current roadmap 2015-02-08 23:28:00 +01:00
sin
09dad0083b Update TODO 2014-12-21 00:01:58 +00:00
sin
153b8428b1 Nuke another freelist() 2014-12-16 21:02:03 +00:00
sin
5d1e46fefa Implement POSIX 2008 compliant logger(1) 2014-12-04 11:36:40 +00:00
sin
64e7504314 Update TODO 2014-11-21 12:54:20 +00:00
sin
5197affac5 Remove col(1)
Not quite necessary to have this in sbase at the moment.  We can do
a clean implementation when required.

This implementation also has some bugs that they have been fixed
in OpenBSD -current but I am too lazy to backport (we also had local
changes to col(1)).

printf(1) as imported from OpenBSD will stay for now because I need
it for booting my system.
2014-11-20 13:57:52 +00:00
sin
0d7c2351b4 Remove csplit(1)
Get rid of it for now as it is not really widely used.  We can do
a simple implementation when time comes.

Remove the table from README because it is not easy to edit unless
you use emacs.
2014-11-20 13:52:18 +00:00
sin
409ec7194f Add install(1) to TODO 2014-11-18 19:55:11 +00:00
sin
25e3e068ed Add note about UTF-8 support in TODO 2014-11-16 13:25:08 +00:00
sin
25a375b707 Update TODO 2014-11-16 12:59:34 +00:00
sin
35d467d971 Add make to TODO 2014-11-14 17:59:51 +00:00
sin
2869adf458 Update TODO 2014-11-13 16:33:47 +00:00
sin
73115682ed Mention programs that were imported from OpenBSD
These need replacing or cleaning up at some point.
2014-10-21 17:50:43 +01:00
Brandon Mulcahy
7a73da6864 Add logname(1) 2014-10-17 15:36:27 +01:00
Markus Teich
314885836c Add link(1) 2014-10-17 15:36:16 +01:00
sin
c0b9a8533f Import csplit(1) from OpenBSD
Modified slightly to conform to the sbase style.
2014-10-16 12:22:36 +01:00
sin
bae62cda71 Update TODO 2014-10-16 11:20:04 +01:00
sin
4ff6c585f8 Update TODO 2014-10-16 11:01:49 +01:00
sin
8311023781 Fix test(1) semantics
Evan Gates says:

After writing my own test[0] I checked and sbase already has test. I'm
including a patch to remove test from the TODO. I also noticed that
sbase's test handles a few specific cases incorrectly (documentation
at [1]).

test ! = foo
When there are 3 arguments and the second is a valid binary primary
test should perform that binary test. Only if the second argument is
not a valid binary primary and the first is ! should test negate the
two argument test. I've attached a patch that should fix this.

test ! ! !
test ! ! ! !
When there are 3 arguments and the second is not a valid primary and
the first is !, test should return the negation of the remaining two
argument test. In this case sbase's test works correctly for ! and ! !
but fails afterwards as it's not recursive. I don't yet have a patch
for this but I'm working on one.

Then again both of these areas may be places in which worse is better.
[0] 11329f3834/test.c
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
2014-10-16 10:13:05 +01:00
sin
618aecd2ec Import expr(1) from OpenBSD
Cleanup + manpage to be done.
2014-09-29 13:44:49 +01:00
sin
015cecfd8d Update README for printf(1) and remove from TODO 2014-09-28 15:13:09 +01:00
sin
7872986dd2 Add at(1) to TODO 2014-07-07 07:37:19 +01:00
Tuukka Kataja
8b87d0098a Add unexpand(1) 2014-06-09 17:00:13 +01:00
Hiltjo Posthuma
9ad06c3aef update TODO file
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-12 20:33:50 +01:00
sin
08ff1c56e7 Update TODO 2014-01-30 11:44:29 +00:00
sin
9a1c5783c1 Remove mktemp(1) from TODO
We already have mktemp(1) implemented.
2014-01-04 13:41:47 +00:00
sin
18f9f3e141 Remove xargs(1) from TODO
We already have a barebones version.
2014-01-04 13:40:42 +00:00
sin
8f931fba13 Remove passwd from TODO
This cannot be made portably so we'll implement this in ubase.
2013-11-12 13:12:42 +00:00
sin
777f958426 Update TODO
We are not going to support logname(1).
2013-10-29 17:20:13 +00:00
sin
6a680269bf Add more commands to TODO 2013-10-18 15:19:04 +01:00
sin
fc9c4d9123 Update TODO based on people's suggestions 2013-10-18 10:02:23 +01:00
sin
84ba9cb87e Remove cut from TODO 2013-10-16 14:14:18 +01:00
sin
355911f010 Remove df from TODO - df now lives in ubase 2013-10-05 13:51:45 +01:00
David Galos
439489b566 Updating TODO 2013-07-20 11:35:21 -04:00
Christoph Lohmann
c94fad2ccc Who is in sbase. 2013-06-21 07:11:44 +02:00
Christoph Lohmann
82e266e880 Cal is now in sbase. 2013-06-21 07:10:54 +02:00
stateless
12116cccc4 Add comm
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 20:00:10 +02:00
Christoph Lohmann
c3b771d682 Seq has been implemented. 2013-06-14 18:56:22 +02:00
Christoph Lohmann
9df408f8c6 Adding who, chroot, env and split.
Thanks "Galos, David" <galosd83@students.rowan.edu>!
2013-06-14 18:55:25 +02:00
Christoph Lohmann
2c162042b1 Adding some utilities.
Thanks "Galos, David" <galosd83@students.rowan.edu>!
2013-05-30 21:29:56 +02:00
Lorenzo Cogotti
c451683c3f Added POSIX paste(1) command implementation.
This commit adds a simple implementation of the POSIX
standard paste(1) command, and its man page.
TODO and Makefile have been updated accordingly.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-05-04 07:48:21 +02:00
Robert Ransom
a16f603b20 uniq: Lobotomize for POSIX-subset compatibility
POSIX uniq(1) is required to write to its second argument,
if one is given.
The multiple-input feature I accidentally added might be useful,
but users and scripts who rely on it would be put at risk for data loss
if they ever run into a POSIX uniq(1).
2012-05-21 23:33:36 +00:00
Christoph Lohmann
120d817920 Adding the yes(1) command. 2012-04-23 16:27:40 +02:00
Kurt H Maier
88760789c7 update TODO 2012-02-04 01:16:18 +00:00
William Haddon
cec53d14b1 implement cp and mv and improve rm 2012-01-30 22:41:33 +00:00
Connor Lane Smith
dd965fe09b nohup: tweak manpage 2011-06-18 14:42:06 +01:00
Connor Lane Smith
6be3e82218 add cksum 2011-06-10 04:14:05 +01:00