Re: C shell script and awk.
From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 05/24/04
- Next message: Sachin Kailaje: "Looking for a UNIX Poster"
- Previous message: Michele Dondi: "Re: rename files problem"
- In reply to: Hon Seng Phuah: "C shell script and awk."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Sachin Kailaje: "Looking for a UNIX Poster"
- Previous message: Michele Dondi: "Re: rename files problem"
- In reply to: Hon Seng Phuah: "C shell script and awk."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]