Re: [vox-tech] ksh question

2002-01-25 Thread Jeff Newmiller
On Fri, 25 Jan 2002, Jay Strauss wrote: > Ok, a question guaranteed not to get flamed, or start a war. > > I want one environmental variable to equal another (dynamically all the > time) but I can't figure it out. That is I want the behavior of: > > export PS1='$PWD' This behavior is well-def

Re: [vox-tech] ksh question

2002-01-25 Thread nbs
On Fri, Jan 25, 2002 at 06:55:56AM -0800, Stephen M. Helms wrote: > nbs wrote: > {snip} > > > Only times I ever use ksh is when logging into Sun servers at work, > > and I don't do any shell scripting on them. (I really miss the > > tcsh/bash features I got used to, too...) > > Why not just typ

Re: [vox-tech] ksh question

2002-01-25 Thread Stephen M. Helms
nbs wrote: {snip} > Only times I ever use ksh is when logging into Sun servers at work, > and I don't do any shell scripting on them. (I really miss the > tcsh/bash features I got used to, too...) Why not just type bash, tcsh, sh, csh, etc... after you log into the Sun server at work? _

Re: [vox-tech] ksh question

2002-01-25 Thread nbs
On Fri, Jan 25, 2002 at 04:38:03PM -0600, Jay Strauss wrote: > I guess its guaranteed not to get any response either :( Sorry ;) Only times I ever use ksh is when logging into Sun servers at work, and I don't do any shell scripting on them. (I really miss the tcsh/bash features I got used to, t

Re: [vox-tech] ksh question

2002-01-25 Thread Jay Strauss
I guess its guaranteed not to get any response either :( - Original Message - From: "Jay Strauss" <[EMAIL PROTECTED]> To: "vox-tech" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 11:29 AM Subject: [vox-tech] ksh question > Ok, a question guaranteed not to get flamed, or start a wa

Re: [vox-tech] Postgres Oracle Compatibility - serial column type

2002-01-25 Thread Eric Engelhard
Jay Strauss wrote: > > The later, > > But many times one will put a trigger (on insert) on the table to > automatically set the value Thanks Jay, I had a feeling that this one would come back to haunt me. I'll just define a compatible subroutine for inserts which contains nextval() within the s

Re: [vox-tech] Postgres Oracle Compatibility - serial column type

2002-01-25 Thread Jay Strauss
The later, But many times one will put a trigger (on insert) on the table to automatically set the value Jay - Original Message - From: "Eric Engelhard" <[EMAIL PROTECTED]> To: "vox-tech" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 1:13 PM Subject: [vox-tech] Postgres Oracle Compa

[vox-tech] Postgres Oracle Compatibility - serial column type

2002-01-25 Thread Eric Engelhard
Keywords: postgres, oracle, RDBMS computability issues I'm trying to anticipate scripting computability issues for Postgres and Oracle. I have already migrated from Perl Pg to Perl DBI, but there are also RDBMS function issues to consider. Does anyone know whether Oracle has a data (column) type

[vox-tech] ksh question

2002-01-25 Thread Jay Strauss
Ok, a question guaranteed not to get flamed, or start a war. I want one environmental variable to equal another (dynamically all the time) but I can't figure it out. That is I want the behavior of: export PS1='$PWD' For example, this is what I'd like to happen (though I can't get it to work):