Okay...so if I have this right, basically the same as the original question I asked. This will give you the entire row where col1 and col2 together are unique.
i.e.
a,3,xxx
a,3,yyy
a,4,ccc
a,5,ccc
a,5,fff
Will give you:
a,3,xxx
a,4,ccc
a,5,ccc
Basically field1 and field2 start empty get set with the first pariing of col1 and 2 - and prints the 3 cols. Then it compares with the next row and where either are different it prints the three cols.
I need to copy my Live Db Instance to my Test Db Instance
Can somebody please tell me the easiest way to go about this
It is an Informix Database running on HP-UX
Thanks (0 Replies)
hi frnds
here i m trying to configure OTRS instance but i m getting the following error message
while runnning through browser.
I m writing the following http://192.168.1.55:8080/otrs2/index.pl
"
#!/usr/bin/perl -w... (7 Replies)
Hi,
I have a script. I want only one instance of the script to be running at any point of the time. How can I do it.
what would be the exact format of the ps command for doing this. For example the name of my script is "Inst.sh"
Thanx in advance (2 Replies)
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Alright, I think I know what I am doing with sed(which probably means I don't). But I cant figure out how to replace just the first occurance of a string. I have tried sed, ed, and grep but can't seem to figure it out. If you have any suggestions I am open to anything! (3 Replies)
Hi All,
I have a property in a file as:
property=value=a
If I use FS="=" then I want only first = to be considered as field separator and remaining as value
echo -e "property=value=a" | awk -F= '{print $2}'
ie my $2 should be value=a
Can anyone please help me with this. I need it in... (3 Replies)
Guys please see below functions to return a status depending on user input. Both seem to work the same.
The second way has a : line which i can't understand or see in a ksh manual anywhere. Instead of doing the variable change if its empty on this line the first function simply does it on the... (7 Replies)
Hi All,
I have a input file like
1| abc
1| abcd
1| abcde
2| abc
2| abcd
3| abcde
I want the output like
1| abcde
2| abcde
Any help would be highly appreciated.
Thanks in advance. (9 Replies)
Hi,
I want to get the only application name from the server.
Ex:
if i give $ ps -ef | grep bw.
It will show all BW process with entire path. It will little confuse to list out the process. Can anyone have syntax to get only the instance name. I need this for be, hawk,ems also.
Please... (2 Replies)
Discussion started by: ckchelladurai
2 Replies
LEARN ABOUT DEBIAN
lp-grab-attachments
GRAB-ATTACHMENTS(1) General Commands Manual GRAB-ATTACHMENTS(1)NAME
grab-attachments - downloads attachments from a Launchpad bug
SYNOPSIS
grab-attachments [options] bug-number...
grab-attachments -h
DESCRIPTION
grab-attachments is a script to download all attachments from a Launchpad bug report or bug reports with a source package task into a
directory named after the bug e.g. bug-1.
OPTIONS
Listed below are the command line options for grab-attachments:
bug-number
Specifies the Launchpad bug number that the script should download attachments from.
-h, --help
Display a help message and exit.
-l INSTANCE, --lpinstance=INSTANCE
Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production".
--no-conf
Do not read any configuration files, or configuration from environment variables.
-d, --duplicates
Download attachments from duplicates too.
-p SRCPACKAGE, --package=SRCPACKAGE
Download attachments from all bugs with a task for this source package.
AUTHOR
lp-grab-attachments was written by Daniel Holbach and this manual page was written by Jonathan Patrick Davies.
Both are released under the GNU General Public License, version 3.
lptools 10 August 2008 GRAB-ATTACHMENTS(1)