Hi, can anyone please answer my question in deleting the rest of the line. I have an example below of a file contaning:
Serial3/1.5 43.70.195.13 YES NVRAM down down
Serial3/3 225.94.155.69 YES NVRAM up down
Serial3/6 ... (3 Replies)
Dear power users,
I have a file like this:
AA 8
AA 6
AA 5
AA 4
AA 3
BB 9
BB 4
BB 3
BB 2
ZZ 5
ZZ 3
ZZ 1
...
The characters in colum one are variously different until the end of the file. I want to extract the maximum value of each entry in... (3 Replies)
Hi Guys,
I need to search a string and print the rest of the lines...
input: 8 0 90 1 0 59 20 2488 96 30006dde372 S ? 0:00 /etc/opt/SUNWconn/atm/bin/atmsnmpd -n
output: 00 /etc/opt/SUNWconn/atm/bin/atmsnmpd -n
Actually i don even need the first "00".. any suggestions is appreciated..... (13 Replies)
Hi all,
Our application installation uses "sed" command to delete rest of line. It work perfect on Linux but fail on Solaris.
The OS versions are Solaris 9 and Linux Red Hat AS 3.
yourfile.txt
hello and world
cat and dog
hello world
in linux:
cat yourfile.txt | sed ‘s/\(\+\)... (3 Replies)
i need to find ' - ' in a line , if i found i need to rest of the line including '-'
example
libmm-2.0
libytytsunos-5.6
output
libmm
libytytsunos (7 Replies)
I need some help. I have a file (all.txt) whereby I want to substitute using sed/awk all lines that matches an expression with another line with different expression i.e
subtitute expression,
database_id: filename;
WITH
database_id: PY;
There are many occurrences of the expression... (4 Replies)
Need to remove rest of line after the equals sign on search pattern from the searchfile. Can anybody help. Couldn't find any similar example in the forum:
infile:
64_1535: Delm. = 86 var, aaga
64_1535: Fran. = 57 ex. ccc
64_1639: Feb. = 26 (link). def
64_1817: mar. = 3/4. drz ... (7 Replies)
Hi friends,
I have a file where I should search for a string and get the rest of the line but without the delimiter using awk.
for example I have the series of string in a file:
input_string.txt
bbb
ccc
aaa
and the mapping file looks like this.
mapping.txt
aaa|12
bbb|23
ccc|43... (11 Replies)
Hi,
I have one requiremnet like this. I need to find some particular string (eg.IncludeDateTime = ) in a file. And wherever it finds the string the unix script has to delete the remaining text coming after the string (ie., 'IncludeDateTime = ' ) in the same line. I tried to write this script in... (5 Replies)
Background:
I have a file of thousands of potential SSR primers from Batch Primer 3.
I can't use primers that will contain the same sequence ID or sequence as another primer.
I have some basic shell scripting skills, but not enough to handle this.
What you need to know:
I need to remove the... (1 Reply)
Discussion started by: msatseqs
1 Replies
LEARN ABOUT DEBIAN
rdf::query::algebra::minus
RDF::Query::Algebra::Minus(3pm) User Contributed Perl Documentation RDF::Query::Algebra::Minus(3pm)NAME
RDF::Query::Algebra::Minus - Algebra class for Minus patterns
VERSION
This document describes RDF::Query::Algebra::Minus version 2.908.
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.
"new ( $pattern, $opt_pattern )"
Returns a new Minus structure.
"construct_args"
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
"pattern"
Returns the base pattern (LHS) onto which the minus pattern matches.
"minus"
Returns the minus pattern (RHS).
"sse"
Returns the SSE string for this algebra expression.
"as_sparql"
Returns the SPARQL string for this algebra expression.
"as_hash"
Returns the query as a nested set of plain data structures (no objects).
"type"
Returns the type of this algebra expression.
"referenced_variables"
Returns a list of the variable names used in this algebra expression.
"potentially_bound"
Returns a list of the variable names used in this algebra expression that will bind values during execution.
"definite_variables"
Returns a list of the variable names that will be bound after evaluating this algebra expression.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Algebra::Minus(3pm)