![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find duplicates from multuple files with 2 diff types of files | ricky007 | Shell Programming and Scripting | 2 | 03-04-2008 01:46 PM |
| Merge files based on key | sbasetty | Shell Programming and Scripting | 3 | 02-02-2007 06:05 PM |
| merging two files based on some key | Vandana Yadav | Shell Programming and Scripting | 1 | 02-03-2006 09:45 AM |
| Remove files based on date | hshapiro | UNIX for Dummies Questions & Answers | 4 | 12-09-2005 12:21 PM |
| find directory with 2 types of files | dangral | UNIX for Dummies Questions & Answers | 2 | 10-13-2004 02:51 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi
Quote:
For ksh, . ~/yourPCPFile For Csh source ~/yourPCPFile Thanks Nagarajan G |
|
|||||
|
Hi Nagaraj,
Iam executing the PCP file which has file_type declaration. Next I've run my Unix script to select the files which has the file type as "Y". Here Iam facing the problem. I heard using "env" we can get the environment value set during execution of PCP. but I dont know how to check which are the file types has set to type "Y" using env output. If you can help me it would be a great help for me... Thanks in advance / Ganapati |
|
||||
|
The values set by executing the PCP file is available only for that shell,as your shell script will spawn a new shell to execute the values exported in the PCP file are not available to the Shell script.
In your script file you need to add a line to execute the PCP file ahead of any computations based on the definitions on that PCPfile. Thank Nagarajan G |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|