10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Well, guys I saw a question about GOTO for Python.
So this gave me the inspiration to attempt a GOTO function for 'dash', (bash and ksh too).
Machine: MBP OSX 10.14.3, default bash terminal, calling '#!/usr/local/bin/dash'...
This is purely a fun project to see if it is possible in PURE... (3 Replies)
Discussion started by: wisecracker
2. Shell Programming and Scripting
echo sql poll
v=`sqlplus -s <<!
set pages 0 echo off feed off
select distinct status from
echo it comes here after false
echo if condition true
sqlplus -l scott/tiger <<EOF
select * from department;
EXIT (2 Replies)
Discussion started by: kumaar1986
3. Shell Programming and Scripting
my code does somthing like this:
sqlplus / | While read id
i = i+1
--connecting to sql and executing a Stored proc for 1st id
--checking for the status
status = $?
--need to... (1 Reply)
Discussion started by: RP09
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
Can any one pls let me the command for how to goback to previous visited directory from the current working directory in SunOS ?
In case of HP-UX; the same can be resolved through "cd -" command.
Thanks in advance!
Prasanth Babu. (6 Replies)
Discussion started by: prasanth_babu
6. UNIX for Dummies Questions & Answers
uname -a returns: SMP Tue May 17 17:52:23 EDT 2005 i686 athlon i386 GNU/Linux
I have many aliases beginning with "goto" so...
if I type goto and then hit return (oops)
A goto prompt pops up and I cant exit from it(I tried MANY key seqs)
The only way to exit is to kill the term window... (2 Replies)
Discussion started by: rairey
7. Shell Programming and Scripting
I have a test script for using goto statement but its not working. please help
i tried both in linux and hp-ux it's not working please help
t=`ps -ef|grep ti.sh|grep -v grep`
if ; then
echo "stop" (5 Replies)
Discussion started by: Krrishv
8. Shell Programming and Scripting
Hey Guys.. I just want to know how to use Goto statement in shell scripts.
I know the basic use of statement.
The above statement will search for some label which must be defined in the script itself as:
I tried these combinations but I didn't work out for me and I'm... (7 Replies)
Discussion started by: vikasduhan
9. Shell Programming and Scripting
Please help to provide "goto" functionality in KORN shell script.
Process some command
if check some variable
process some other
Please help to implement this example in korne... (1 Reply)
Discussion started by: DeepakXavier
10. Shell Programming and Scripting
I'm trying to use the goto in ksh but it does not appear to be a valid command. Is that only valid in csh? Anything similar in ksh that I can use?
Appreciate any help you can provide.
geraldine (4 Replies)
Discussion started by: Geraldine