Re: C shell script and awk.

From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 05/24/04


Date: Mon, 24 May 2004 10:09:43 -0500


Hon Seng Phuah wrote:

> I have wrote these statements and named as loginfo.csh:
>
> #! /bin/csh
>
> set filePath = $argv[1]
> set filePath = `echo $filePath | awk '{ split($filePath, subdir, "/");

set filePath = `echo "$filePath" | awk '{ split($0, subdir, "/");

Regards,

        Ed.