summaryrefslogtreecommitdiffstats
path: root/rules/file.in
diff options
context:
space:
mode:
authorAlexander Dahl <post@lespocky.de>2011-05-03 08:15:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-05-04 12:23:57 +0200
commit84cf020faa514938f4d87ba659013cf11b0dc4f4 (patch)
tree6849f1a6816cd3430354ce287fb864c59daf256b /rules/file.in
parente69206eb6237d3e6a823c46a3218d0ece0e94ad0 (diff)
downloadptxdist-84cf020faa514938f4d87ba659013cf11b0dc4f4.tar.gz
ptxdist-84cf020faa514938f4d87ba659013cf11b0dc4f4.tar.xz
add utility 'file' for determining file types
Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/file.in')
-rw-r--r--rules/file.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/rules/file.in b/rules/file.in
new file mode 100644
index 000000000..902b9615f
--- /dev/null
+++ b/rules/file.in
@@ -0,0 +1,15 @@
+## SECTION=shell_and_console
+
+config FILE
+ tristate
+ select HOST_FILE
+ prompt "file"
+ help
+ The file command is "a file type guesser", that is, a command-line tool
+ that tells you in words what kind of data a file contains. Unlike most
+ GUI systems, command-line UNIX systems - with this program leading the
+ charge - don't rely on filename extentions to tell you the type of a
+ file, but look at the file's actual contents. This is, of course, more
+ reliable, but requires a bit of I/O.
+
+ http://www.darwinsys.com/file/