12-16-2008
hi all,
anybody has any suggestions on this?
appreciate any help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I'm trying to use sed to erase everything, up to, and including, the first closing parenthesis. for example:
input: blah blah blah (aldj) test (dafs) test test.
output: test (dafs) test test.
how would i do this?
I was fooling around with the parenthesis, and i only got it to apply to... (5 Replies)
Discussion started by: gammaman
5 Replies
2. Shell Programming and Scripting
Hello, i'm unable to remove the parenthesis character.
With $parsed_AsciiName =~ s/\(//;
the string is the same
And with $parsed_AsciiName =~ s/(//;
i retrieve "Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE"
Any ideas, please? thank you in advanced. (4 Replies)
Discussion started by: aristegui
4 Replies
3. Shell Programming and Scripting
Hi,
I am trying to clean up data between parenthesis () in a file.
See example below....
Input File :
(New York) Chicago (London)
New York (Chicago) London
New York Chicago (London)
(New York) (Chicago) (London)
New York (Chicago)
... (3 Replies)
Discussion started by: msalam65
3 Replies
4. Shell Programming and Scripting
What's the use of parenthesis () in shell programming ?
I saw this in one of the posts in this forum :
echo $($1)
What confounded me was that it evaluated the inner expression and then the outer one, almost like eval. It seemed like it did this in passes. (2 Replies)
Discussion started by: daudiam
2 Replies
5. Shell Programming and Scripting
Hi guys,
I've been trying to do this for hours, and I've just been running around in circles trying to get this script made. I have a set of files outputted by an MSVC compiler that looks like this
1> helloworld.cpp
1> Note: including file: c:\dev\test\makefile\source\helloworld.h
1> ... (7 Replies)
Discussion started by: krad
7 Replies
6. Shell Programming and Scripting
I have a file that, among other things, contains a tuple with words and the word count. I want to make a list of the words only.
Ex: My file words.txt looks like:
0.1 sw-wn 9 - n: 97/903 p: 107/893neg: (film,771.1) | (movie,717.1) |
(like,690.1) | (just,621.1) | (it's,607.1) | (time,543.1) |... (4 Replies)
Discussion started by: erinbot
4 Replies
7. Shell Programming and Scripting
I have the following text as an input text:
input.txt
Results('Toilet', 'Sink', )
and i want to remove the last comma so the output is
output.txt
Results('Toilet', 'Sink' )
I tried using the following sed command, but I get a parsing error:
sed s/, \)/\)/g input.txt >... (5 Replies)
Discussion started by: jl487
5 Replies
8. Shell Programming and Scripting
I have the following data and want to put parenthis around the numbers:
PARTITION PERIOD_MIN VALUES LESS THAN 10649 TABLESPACE ODS_DAILY_MF_AUM,
PARTITION PERIOD_10649 VALUES LESS THAN 10650 TABLESPACE ODS_DAILY_MF_AUM,
PARTITION PERIOD_10650 VALUES LESS THAN 10651 TABLESPACE... (2 Replies)
Discussion started by: BeefStu
2 Replies
9. Shell Programming and Scripting
Hi Gurus,
I have an input like the one below. What i wanted to achieved is to create a select statement based from that information
INPUTInsert into table_name (col1,col2,col3,col4,col5,DATE1,DATE2,col6,col7,col8,col9,col10,col11) values (6752,14932156,24,'ALL','Staff',to_date('04/17/2017... (6 Replies)
Discussion started by: ernesto
6 Replies
10. Shell Programming and Scripting
Hello,
i 've go a file with the following text:
oracle@das (J005) 0
oracle@das (J008) 0
oracle@das (J050) 0
oracle@das (J038) ... (15 Replies)
Discussion started by: nms
15 Replies
LEARN ABOUT DEBIAN
padre::plugin::spellcheck::engine
Padre::Plugin::SpellCheck::Engine(3pm) User Contributed Perl Documentation Padre::Plugin::SpellCheck::Engine(3pm)
NAME
Padre::Plugin::SpellCheck::Engine - Check spelling in Padre, The Perl IDE.
VERSION
version 1.29
PUBLIC METHODS
Constructor
my $engine = PPS::Engine->new;
Create a new engine to be used later on.
Instance methods
o my ($word, $pos) = $engine->check( $text );
Spell check $text (according to current speller), and return the first error encountered (undef if no spelling mistake). An error is
reported as the faulty $word, as well as the $pos of the word in the text (position of the start of the faulty word).
o $engine->set_ignore_word( $word );
Tell engine to ignore $word for rest of the spell check.
o my @dictionaries = $engine->dictionaries;
Return a (reduced) list of dictionaries installed with aspell. The names returned are the dictionary locale names (eg "en_US"). Note
that only plain locales are reported, the variations coming with aspell are stripped.
o my @suggestions = $engine->get_suggestions( $word );
Return suggestions for $word.
BUGS AND LIMITATIONS
Text::Hunspell hard coded for /usr/share/hunspell/
DEPENDENCIES
Padre, Class::XSAccessor and either or ( Text::Hunspell or Text::Aspell )
SEE ALSO
For all related information (bug reporting, source code repository, etc.), refer to Padre::Plugin::SpellCheck.
AUTHORS
Kevin Dawson <bowtie@cpan.org>
Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
Fayland Lam <fayland@gmail.com>
Jerome Quelin <jquelin@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Fayland Lam, Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-19 Padre::Plugin::SpellCheck::Engine(3pm)