[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Determining if a file is text or binary via the KDE API
From: "Frans Englich" <frans.englich () telia ! com>
Date: 2003-02-27 14:41:07
[Download RAW message or body]
Hi all,
For a script utility I'm writing I need to determine whether a file is
pure text or binary. I've had a look at the 'file' utility but it's
output is inconsistent and it just doesn't work 100% correct. This my
solution right now.
But, I came to think of that some parts of the KDE API is exported to
shell scripts(I read somewhere). Perhaps there's a method to determine
text/binary via the KDE API in some way?
cheers,
Frans
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic