summaryrefslogtreecommitdiff
path: root/util/sbase/TODO
blob: 38c9f868332e8d3aa18b4c27a363fde263e66400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
The following list of commands is taken from the toybox roadmap[0] and
has been stripped down  accordingly.  Commands that belong to ubase[1]
are not listed here as well as commands that fall outside the scope of
sbase such as vi and sh are also not listed here.

at
awk
bc
diff
patch
stty

If you are looking for some work to do on sbase, another option is to
pick a utility from the list in the README which has missing flags or
features noted.

What also needs to be implemented is the capability of the tools to
handle data with NUL-bytes in it.

The return values of mdcheckline() in crypt.c need to be fixed (0 -> success,
1 -> error).

[0] http://landley.net/toybox/roadmap.html
[1] http://git.suckless.org/ubase/

Bugs
====

ed
--
* cat <<EOF | ed
  i
  LLL
  .
  s/$/\\

* cat <<EOF | ed
    0a
    int radix = 16;
    int Pflag;
    int Aflag;
    int vflag;
    int gflag;
    int uflag;
    int arflag;

    .
    ?radix?;/^$/-s/^/static /
* cat <<EOF | ed
    0a
       Line
    .
    s# *##
* cat <<EOF | ed
    0a
    line
    .
    1g/^$/p

* cat <<EOF | ed
    0a
    line1
    line2
    line3
    .
    g/^$/d
    ,p

* Editing huge files doesn't work well.


printf
------
* Flags for string conversion-specifier (%s) are not supported.
* Escape sequences that expand to '%' are treated as beginning of
  conversion specification.
* An trailing '%' at the end of a format string causes a read past
  the end of the string.

tr
--
* When a character class is present, all other characters in the
  string are ignored.

sbase-box
---------
* List of commands does not contain `install` (only `xinstall`).


xargs
-----
* Add -L.