![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need to create file from shell scripting | smr_rashmy | Shell Programming and Scripting | 4 | 01-28-2008 07:59 PM |
| file permissions using shell scripting | barbus | Shell Programming and Scripting | 11 | 10-02-2007 11:51 AM |
| How do i iterate thru each line of a file in shell scripting? | Ravi Varma | Shell Programming and Scripting | 2 | 09-05-2007 08:28 PM |
| Shell scripting adding text to top of file | meadhere | UNIX for Dummies Questions & Answers | 7 | 07-05-2007 06:31 AM |
| file activity (open/closed) file descriptor info using KORN shell scripting | Gary Dunn | UNIX for Dummies Questions & Answers | 3 | 06-07-2004 10:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
.def file in HP-UX Shell scripting
Hi Pals,
I need some information related .def file in HP-Ux shell scripting. What actaully a .def file contains. It is having all definitions of some functions. But what is the relationship between a .def file and shell script. Can anyone give some examples. Thanks in Advance. Best Regards, Manu |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I'm not familiar with the specific situation on HP-UX.
But in general you include a file containing all kind of function definitions into another script. That way you don't need to define the same functions in each and every script over and over. At the beginning of your script just add the line: . <pathtodeffile>/<deffile> DOT SPACE <pathtodeffile>/<deffile> That way all functions defined in the .def file are available within your script. |
|||
| Google The UNIX and Linux Forums |