7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Experts,
I am trying to write a shell script to find duplicate items in an array, this is what i have tried :
#!/bin/bash
echo "This is another sample Progg to remove duplicate items from an array"
echo "How many number do you want to insert"
read n
for (( i=0; i<$n; i++ ))
do
... (5 Replies)
Discussion started by: mukulverma2408
5 Replies
2. Programming
I have some vectors to evaluate and develop a list of values that occur in more than one element.
This is the simplest case. I have a vector,
std::vector<int> vec1;
vec1=5; vec1=5;
I need to know that that 5 occurs twice in the vector. If I do a double loop,
std::vector<int>... (13 Replies)
Discussion started by: LMHmedchem
13 Replies
3. Programming
Hi everyone! So I have a listView on my Form named "officeView" I already have the code to add and update info into it, but Im having troubles deleting items out of it. :/
Now I know how to delete an Item from the listView, but I want the item before the deleted item to become automatically... (0 Replies)
Discussion started by: romeo5577
0 Replies
4. Shell Programming and Scripting
I have a need to compare 2 files, then print results to file. Need to find items from file2 that are not found in file 1. thanks in advance!
example:
file 1:
abcde=12
fffff=6
bbbb=35
file2:
abcde=12
fffff=6
bbbb=35
ccccc=10
kkkkk=45 (8 Replies)
Discussion started by: discostu
8 Replies
5. Shell Programming and Scripting
Please assist with awk scirpts:
I need to remove items from a file in a batch:
The file that I will remove from has the following format:
abc00tef:10.81.12.3
abc01tef:10.81.12.3
abc02tef:10.81.12.3
abc03tef:10.81.12.3
abc04tef:10.81.12.3
abc05tef:10.81.12.3
I have a file which... (5 Replies)
Discussion started by: amir07
5 Replies
6. Shell Programming and Scripting
AWK help:
I have a file with following format. I need to remove any entries which are repeated based on first 3 characters. So from the following files I need to remove any entries start with "mas".
mas01bct
mas02bct
mas03bct
mas01bct
mas01bct
mas01bct
mas11bct
mas01bct
mas01bct... (11 Replies)
Discussion started by: amir07
11 Replies
7. Shell Programming and Scripting
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)
Discussion started by: jerome Sukumar
2 Replies
lp-set-dup(1) General Commands Manual lp-set-dup(1)
NAME
lp-set-dup - mark one or more bugs as duplicate of another bug
SYNOPSIS
lp-set-dup [-f] <main bug> <duplicate bug> [<duplicate bug> ...]
lp-set-dup --help
DESCRIPTION
lp-set-dup allow to easily mark one or more bug as duplicate of another bug. It checks for permission to operate on a given bug first, then
perform required tasks on Launchpad.
OPTIONS
Listed below are the command line options for lp-set-dup:
-h, --help
Display a help message and exit.
-f Skip confirmation prompt.
-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.
ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
LP_SET_DUP_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE
The default value for --lpinstance.
SEE ALSO
ubuntu-dev-tools(5)
AUTHORS
lp-set-dup was written by Loic Minier <lool@dooz.org>, and this manual page was written by Luca Falavigna <dktrkranz@debian.org>.
Both are released under the terms of the GNU General Public License, version 2.
lptools March 6 2010 lp-set-dup(1)