Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: SamK on February 19, 2010, 03:36:45 AM
-
When adding user created entries in either /opt/.filetool.lst or /opt/.xfiletool.lst is it possible to add comments to indicate the reason for them. If so what is the comment character?
-
I had "a bit of a read" in the source code of BusyBox (v1.14.3, file: archival/tar.c). And I'm pretty sure that there is no such thing as a treatment for a comment line.
I believe it would not be difficult to enhance the code, but I doubt that Robert and the team would like to go down this road. Mind you the use of 'tar' in '/usr/bin/filetool.sh' is not limited to the BusyBox applet, so if you got tar.tgz installed this GNU version would be used instead.
Finally I did a quick test using the only sensible comment character (i.e. '#'), and both BusyBox tar as well as GNU tar are complaining (with different error messages each).
-
I had "a bit of a read" in the source code of BusyBox (v1.14.3, file: archival/tar.c). And I'm pretty sure that there is no such thing as a treatment for a comment line.
It is regrettable that comments are not accepted, however your investigation is valuable and your feedback welcome. Many thanks.
-
You have the option to maintain the master copies of the configuration files with comments (e.g., lines starting with "#") and to remove those comments with a command such as
grep -v '^#'