10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to get squid up and running using a redirector process, and every time I try to load a web page, squid fails miserably.
Can some one with perl and squid knowledge take a look at these codes and tell if something is wrong here.
#!/usr/bin/perl
#
$| = 1;
@endings = qw/... (0 Replies)
Discussion started by: jamie_123
0 Replies
2. Shell Programming and Scripting
Hello,
is it possible to debug a script that is already running "on-demand"?
Somehow a command like "set -x" but once you've executed the script. And another one to disable debugging?
Thank you (0 Replies)
Discussion started by: asanchez
0 Replies
3. Shell Programming and Scripting
Hi I am relatively new in shell scripting Below is the code which i developed but for some reason, it keeps giving me error:
/apps/bss/BatchProg/at1/batch/scripts/ksh/TBATLC02.ksh: syntax error at line 41 : `then' unmatched
#!/usr/bin/ksh... (4 Replies)
Discussion started by: scripting_newbe
4 Replies
4. Shell Programming and Scripting
Hi,
I have this script, searches and sets variables, then searches and sets more variables from multiple files.
I'd need to debug it a bit.
#!/bin/bash
egrep $1 `find | grep MAGT` >/tmp/resRA-$$
thread=`sed -n '/{0x/ {s/^.*{0x\(*\).*/\1/p;q}' /tmp/resRA-$$`
tag=`sed -n '/Tag=/... (5 Replies)
Discussion started by: Vitoriung
5 Replies
5. Shell Programming and Scripting
Hi,
When i run the script ./script.sh sun, this give me no output, it should give me the list of file.
If i run the script without the argument it should send me echo inside usage().
What is the problem?
please help
-Adsi
#!/bin/sh
ROOT_PATH=/net/icebox/vol/local_images/spins... (2 Replies)
Discussion started by: asirohi
2 Replies
6. Shell Programming and Scripting
Hi All,
I have a script which is based on calculating current time
The script looks like this:
whenever i try to run the script it gives me error:Please advice wherther i have made mistake with if condition or with for loop??
The code :
set -x
#!/usr/bin/ksh
set -x... (7 Replies)
Discussion started by: usha rao
7 Replies
7. UNIX for Advanced & Expert Users
Hi all,
i have two simple questions here...
1. i want to know that how to debug the UNIX shell script?
2. is there any way to handling the exception in UNIX shell script like oracle exception handling?
Please provide me those details it would be great help/
Thanks and Regards,
MPS... (3 Replies)
Discussion started by: psiva_arul
3 Replies
8. Shell Programming and Scripting
echo "input time in hhmmss"
read $st
h=`echo $st | cut -c1-2`
min=`echo $st | cut -c3-4`
s=`echo $st | cut -c5-6`
echo "input time in hhmmss"
read $end
h1=`echo $end | cut -c1-2`
min1=`echo $end | cut -c3-4`
s1=`echo $end | cut -c5-6`
x= `expr $h /* 60 + $min`
y= `expr $h1 /* 60 +... (8 Replies)
Discussion started by: abhishek27
8 Replies
9. Shell Programming and Scripting
Hi,
How can I debug an awk script?
I know that set -x can be used to debug a script. But this will not suite for awk scripts.
Can anyone help me?
Thanks in advance,
Chella (2 Replies)
Discussion started by: chella
2 Replies
10. Shell Programming and Scripting
I would like to extract the following fields from the text file attached. I copied the contents from a pdf file and pasted them into the text file so I can use awk to extract them. The layout is as listed below.
name1,name2,name3,name4,Title,designation,nationality,dob,
national ... (1 Reply)
Discussion started by: mboro
1 Replies
WINPDB(1) General Commands Manual WINPDB(1)
NAME
winpdb, rpdb2 -- platform independent Python debugger
SYNOPSIS
winpdb, rpdb2 [-h, --help] [-d, --debuggee] [-a, --attach] [-o, --host] [-r, --remote] [-e, --encrypt] [-p, --pwd] [-s, --screen]
[-c, --chdir] [--debug] [[<script-name> [<script-args>...]]]
DESCRIPTION
This manual page documents briefly the winpdb and rpdb2 commands.
This manual page was written for the Debian distribution because the original program does not have a manual page.
winpdb is a GUI frontend to rpdb2, a remote debugger for python, which is capable to debug threads- and curses-based code.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-h --help
Print the program's help.
-d --debuggee
Start debuggee and break into it, without starting a debugger console.
-a --attach
Attach to an already started debuggee.
-o --host
Specify host for attachment.
-r --remote
Allow debuggees to accept connections from remote machines.
-e --encrypt
Force encrypted connections between debugger and debuggees.
-p --pwd
Password. This flag is available only on NT systems. On other systems the password will be queried interactively if it is
needed.
-s --screen
Use the Unix screen utility when spawning the debuggee.
-c --chdir
Change the working directory to that of the launched script.
--debug Debug prints.
AUTHOR
This manual page was written by Bernd Zeimetz <bernd@bzed.de> for the Debian system (but may be used by others). Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2, as published by the Free Soft-
ware Foundation.
On Debian systems, the complete text of the GNU General Public License, Version 2, can be found in /usr/share/common-licenses/GPL-2.
WINPDB(1)