[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question regarding passing parameters into file
From: |
Aaron S. Hawley |
Subject: |
Re: Question regarding passing parameters into file |
Date: |
Mon, 29 Sep 2003 11:20:11 -0400 (EDT) |
On Mon, 29 Sep 2003, Auman, Scott J. wrote:
> Hello
>
> I have a question regarding passing parameter(s) from the archive file
> (,v) into the file that gets checked out.
>
> For example:
> If I have 3 versions of a package body called test.pkb:
> 1.0
> 1.1
> 1.2
>
> I want to check out version 1.1, so I do. Can you tell me the TOKEN that I
> need in my 'Author' information in the test.pkb file already so that when I
> do check out version 1.1, it puts the 'version' and 'file name' in my Author
> header' of the checked out file.
look under the section KEYWORD SUBSTITUTION in the man page co(1) and also
have a look at the -k options found on the section OPTIONS of that same
man page.
this should answer your initial questions.
any particular questions you can send again to this list.
/a
>
> ie:
> This is the file prior to checking in:
>
> *********************************
> * Author Scott Auman *
> * File: <TOKEN1> *
> * Version: <TOKEN2> *
> *********************************
> select 1 from dual
> /
> end of file
>
>
> We would want it to replace the 'TOKENs' with the version that was checked
> out, as well as the filename. Therefore creating the file like such:
> *********************************
> * Author Scott Auman *
> * File: test.pkb *
> * Version: 1.1 *
> *********************************
>
> Any suggestions would be great! Thanks!
>
> Please let me know if you have any questions..
>
> Scott J. Auman