9
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
Alexander Aring 049100fe37 stringlist-functions: add sorted insert
Add sorted insert in stringlist functions.
Also added function to checked if string is already
in string list.

Signed-off-by: Alexander Aring <a.aring@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-21 12:38:14 +01:00
Sascha Hauer 51b0b001d3 stringlist: Fix printing on smaller consoles
Do not add additional space between strings, we already
did this by adding 4 to the string length.

Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-15 16:06:05 +02:00
Sascha Hauer 8f35e16333 add stringlist function. They can be used to build a list
of strings. For now mainly useful to print the resulting
list in columns which is used in tab completion and ls.
2008-03-11 21:38:22 +01:00