RE: SQLl _at_ command
Date: Wed, 26 Aug 2020 12:51:08 -0700 (PDT)
Message-ID: <35a9b9f0-afa7-40a5-93ae-216bf34e1a14_at_default>
Jumping in late, so apologies
But if I echo $PWD
And then start sqlcl
And show sqlpath…
I see $PWD
So can someone explain to me what we’re doing wrong? Happy to file a bug and drive to get it fixed for you.
Jeff
From: Jack Applewhite <jack.applewhite_at_austinisd.org> Sent: Wednesday, August 26, 2020 3:20 PM To: Martin Berger <martin.a.berger_at_gmail.com>; franck_at_pachot.net Cc: Mladen Gogala <gogala.mladen_at_gmail.com>; Oracle-L oracle-l <oracle-l_at_freelists.org> Subject: Re: SQLl _at_ command
Yes, this has been bugging us since we migrated to 18c. I LOVE sql or sqlcl, but having it not respect $PWD is Very annoying.
I just execute sql, which launches the sql script in $ORACLE_HOME/bin, which executes the line below
cd "`dirname $0`"/../sqldeveloper/sqldeveloper/bin && bash sql $*
So, not being an ace shell scripter, is there a straightforward way to get this to inherit the $PWD of the original invocation of sql? Or to edit the .../sqldeveloper/bin/sql big ol' script to inherit $PWD?
Thanks.
--
Jack C. Applewhite - Database Administrator
Austin I.S.D. - MIS Department
512.414.9250 (wk)
I cannot help but notice that there is no problem between us that cannot be solved by your departure. -- Mark Twain
_____
From: HYPERLINK "mailto:oracle-l-bounce_at_freelists.org"oracle-l-bounce_at_freelists.org <HYPERLINK "mailto:oracle-l-bounce_at_freelists.org"oracle-l-bounce_at_freelists.org> on behalf of Franck Pachot <HYPERLINK "mailto:franck_at_pachot.net"franck_at_pachot.net>
Sent: Wednesday, August 26, 2020 11:26
To: Martin Berger <HYPERLINK "mailto:martin.a.berger_at_gmail.com"martin.a.berger_at_gmail.com>
Cc: Mladen Gogala <HYPERLINK "mailto:gogala.mladen_at_gmail.com"gogala.mladen_at_gmail.com>; Oracle-L oracle-l <HYPERLINK "mailto:oracle-l_at_freelists.org"oracle-l_at_freelists.org>
Subject: Re: SQLl _at_ command
Hi all,
It is not SQLcl that changes the directory but the wrapping script that you find in $ORACLE_HOME/bin/sql
Franck.
On Wed, Aug 26, 2020 at 5:02 PM Martin Berger <HYPERLINK "mailto:martin.a.berger_at_gmail.com"martin.a.berger_at_gmail.com> wrote:
Hi Mladen,
I had similar issues with versions prior to 20.2: SQLcl changed it's working directory. can you please do a
!pwd
(or !cd )
to see in which directory your SQLcl really is?
hth
berx
Am Mi., 26. Aug. 2020 um 16:40 Uhr schrieb Mladen Gogala <HYPERLINK "mailto:gogala.mladen_at_gmail.com"gogala.mladen_at_gmail.com>:
Hi!
I am having problems with the _at_ command from SQLCl. For some reason, SQLCl 20.2 doesn't find the file, even if it is in the current directory. Does anyone have the same experience?
Regards
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
--
Martin Berger Oracle ♠
HYPERLINK "mailto:martin.a.berger_at_gmail.com"martin.a.berger_at_gmail.com HYPERLINK "https://urldefense.com/v3/__https:/twitter.com/martinberx__;!!GqivPVa7Brio!I-SDO1_GF_ewc9zuJDvm6QZLWxKG67V_pPren3w8nI3xegiy0X5Y-QP5f32GnOkvwQA$"_at_martinberx ^∆x HYPERLINK "https://urldefense.com/v3/__https:/linkprotect.cudasvc.com/url?a=http*3a*2f*2fberxblog.blogspot.com&c=E,1,cxgSkjNgBA1gIHAFZHIDBLYXPyQZAtwX3LEljGqqFG2ioOMWHGBPQWeL8d2Snw-W1k1yUTpOzlFK007z7L00CRP6ZBxVzjTSXtvXKUb8M3-ojEGWuxaxUpw,&typo=1__;JSUl!!GqivPVa7Brio!I-SDO1_GF_ewc9zuJDvm6QZLWxKG67V_pPren3w8nI3xegiy0X5Y-QP5f32GKfHsmB4$"http://berxblog.blogspot.com
Confidentiality Notice: This email message, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential student and/or employee information. Unauthorized use of disclosure is prohibited under the federal Family Educational Rights & Privacy Act (20 U.S.C. §1232g, 34 CFR Part 99, 19 TAC 247.2, Gov’t Code 552.023, Educ. Code 21.355, 29 CFR 1630.14(b)(c)). If you are not the intended recipient, you may not use, disclose, copy or disseminate this information. Please call the sender immediately or reply by email and destroy all copies of the original message, including attachments.
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 26 2020 - 21:51:08 CEST