Mercurial > hg > toybox
comparison toys/posix/cut.c @ 1775:57f2a26fa92c draft toast
To ensure that toybox can be installed alongside busybox without
confusing update-alternatives, the paths of the links installed by toybox should
match those installed by busybox. This is accomplished by changing the flags
of a few tools within toybox.
author | Paul Barker <paul@paulbarker.me.uk> |
---|---|
date | Sat, 04 Apr 2015 11:58:06 -0500 |
parents | 3ac823675413 |
children |
comparison
equal
deleted
inserted
replaced
1774:014a5e821603 | 1775:57f2a26fa92c |
---|---|
3 * Copyright 2012 Ranjan Kumar <ranjankumar.bth@gmail.com> | 3 * Copyright 2012 Ranjan Kumar <ranjankumar.bth@gmail.com> |
4 * Copyright 2012 Kyungwan Han <asura321@gmail.com> | 4 * Copyright 2012 Kyungwan Han <asura321@gmail.com> |
5 * | 5 * |
6 * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html | 6 * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html |
7 | 7 |
8 USE_CUT(NEWTOY(cut, "b:|c:|f:|d:sn[!cbf]", TOYFLAG_BIN)) | 8 USE_CUT(NEWTOY(cut, "b:|c:|f:|d:sn[!cbf]", TOYFLAG_USR|TOYFLAG_BIN)) |
9 | 9 |
10 config CUT | 10 config CUT |
11 bool "cut" | 11 bool "cut" |
12 default y | 12 default y |
13 help | 13 help |