Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
how to determine a file is ASCII or binary?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="one2001boy, post: 1708924"] Have you ever seen a C interpreter (Ch) for C source code without "#!"? ch-4.5> cat test.c #include <stdio.h> int main() { printf("Hello, world\n"); return 0; } ch-4.5> chmod +x test.c ch-4.5> ./test.c Hello, world ch-4.5> If you want test.c works in any shells other than ch, you can add #! in the first line. In case you are interesetd, you can take a look ch shell [URL]http://www.softintegration.com/docs/ch/shell/[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
how to determine a file is ASCII or binary?
Top