in reply to perl or bash in cgi scripts?
Recent versions of the korn shell do have a cat built-in. Perl anyway will not invoke a shell unless the command contains shell meta-characters. In your example $filename might contain meta-characters, we can't tell. You should take this into account when benchmarking, since if a shell is produced you will have two child processes instead of one.$ type cat cat is /bin/cat
|
|---|