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)
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)
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)
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)
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)
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)
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)
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)
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)
How can I debug this script?
I want to know what it is doing or not doing?
#!/bin/bash
#
#
if ; then
# Do the thing you want before suspend here
echo "we are suspending." > /tmp/systemd_suspend_test.txt
elif ; then
# Do the thing you want after resume here
echo "and we are... (21 Replies)
Discussion started by: drew77
21 Replies
LEARN ABOUT DEBIAN
griffith
griffith(1)griffith(1)NAME
griffith - film collection manager
SYNOPSIS
griffith
DESCRIPTION
Griffith is a film collection manager. Adding items to the movie collection is as quick and easy as typing the film title and selecting a
supported source. Griffith will then try to fetch all the related information from the Web.
OPTIONS -h --help
Show usage information.
-D --debug
Run in debug mode.
-C --clean
find and delete orphan files in posters directory.
--check-dep
check dependencies - if all needed Python modules are installed, it prints nothting.
--sqlecho
Prints all SQL queries to standard output.
--home DIR
Set Griffith's home directory. Use this option if you want to change the default ~/.griffith
Printing movie list:
-c <expr> --cast=<expr>
cast field must contain <expr>
-d <expr> --director=<expr>
director field must contain <expr>
-o <expr> --original_title=<expr>
original title field must contain <expr>
-t <expr> --title=<expr>
title field must contain <expr>
-y <number> --year=<number>
movie must be released in year <number>
-s <columns> --sort=<columns>
set sort columns to <columns>. Example: --sort=o_title,number,director
SEE ALSO
Homepage: <http://www.griffith.cc/>
BUGS
If you want to help or report any bugs founded please visit homepage <http://www.griffith.cc/> or <https://bugs.launchpad.net/griffith>
AUTHORS
Griffith was written by Vasco Nunes and Piotr OA1/4arowski. See the AUTHORS and THANKS files for a list of other contributors.
Copyright (C) 2005-2008 Vasco Nunes <vasco.m.nunes@gmail.com>, Piotr OA1/4arowski <ozarow+griffith@gmail.com>,
This man page was written by Piotr Ozarowski
Dec 20, 2006 griffith(1)