The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-21-2004
Perderabo's Avatar
Perderabo Perderabo is offline
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,352
Re: how does unix identify C and other language code!

Quote:
Originally posted by a25khan
for example, unix recognises this C code in the body of any script.

#include <stdio.h>
FILE *popen(const char *command, const char *open_mode);
int pclose(FILE *stream_to_close);
Excuse me??!!! Recognition of c code is not mandated by Posix for any interpreter.

csh
tcsh
sh
ksh
bash

are a few shells that can do no such thing.