Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Hi,
I am trying to filter the words from a file which contain 'abc'. But I am unable to. Could any one help me.
For eg: The file contents are
123ab 12hnj1 123abc456 123cgbcahjkf23 23134abchfhj43 gc32abc abc1 2abc3 sd uiguif fhwe 21242 uh123 jkcas124d123 u3hdbh23u ffsd8
Output... (3 Replies)
How can I delete those lines that starts with a certain letter?
abc def ghi
xyz abc def
ace gik moq
abe imq gxm
I want to delete the line that starts with "x". Thanks! (4 Replies)
Hello,
I need a script to do the following:
I have a file filled of lines like:
valu -> value
confirmaton -> confirmation
I need a script to compare the first and last letters of the words, for example for the line:
valu -> value
compare "v" to "v" and "u" to "e" and print the line... (7 Replies)
Hi all,
I want to make an script using sed that removes everything between 'begin' (including the line that has it) and 'end1' or 'end2', not removing this line.
Let me paste an 2 examples:
anything before
any string begin
few lines of content
end1
anything after
anything before
any... (4 Replies)
hey :)
if i have a variable that is
example=lewisdenny(copywrite symbol)
so its not a nomal letter but a symbol, how can i remove everything in the varible that isnt letter or number thanks :)
and as a side little question do you know how to remove .zip from a file like if i
ls... (7 Replies)
Hi,
I'm trying to acheive the following, I have a dat file in which i have several addresses, If the address starts with a single digit then i have to delete the line,
if it starts with 2 or more digits then i have to keep the line
Here is a sample of my file:
377 CARRER DE LA... (5 Replies)
I need to use bash to convert sentences where all words start with a small letter into one where all words start with a capital letter.
So that a string like:
are utilities ready for hurricane sandy
becomes:
Are Utilities Ready For Hurricane Sandy (10 Replies)
Hi,
I have written the following python snippet to store the capital letter starting words into a dictionary as key and no of its appearances as a value in this dictionary against the key.
#!/usr/bin/env python
import sys
import re
hash = {} # initialize an empty dictinonary
for line in... (1 Reply)
Hi,
I have this text file with these words and I need help with removing words with repeated letter from these lines.
1 ama
5 bib
29 bob
2 bub
5 civic
2 dad
10 deed
1 denned
335 did
1 eeee
1 eeeee
2 eke
8... (4 Replies)
Discussion started by: crepe6
4 Replies
LEARN ABOUT DEBIAN
sql::reservedwords::sqlite
SQL::ReservedWords::SQLite(3pm) User Contributed Perl Documentation SQL::ReservedWords::SQLite(3pm)NAME
SQL::ReservedWords::SQLite - Reserved SQL words by SQLite
SYNOPSIS
if ( SQL::ReservedWords::SQLite->is_reserved( $word ) ) {
print "$word is a reserved SQLite word!";
}
DESCRIPTION
Determine if words are reserved by SQLite.
METHODS
is_reserved( $word )
Returns a boolean indicating if $word is reserved by either SQLite 2 or 3.
is_reserved_by_sqlite2( $word )
Returns a boolean indicating if $word is reserved by SQLite 2.
is_reserved_by_sqlite3( $word )
Returns a boolean indicating if $word is reserved by SQLite 3.
reserved_by( $word )
Returns a list with SQLite versions that reserves $word.
words
Returns a list with all reserved words.
EXPORTS
Nothing by default. Following subroutines can be exported:
is_reserved
is_reserved_by_sqlite2
is_reserved_by_sqlite3
reserved_by
words
SEE ALSO
SQL::ReservedWords
<http://www.sqlite.org/docs.html>
AUTHOR
Christian Hansen "chansen@cpan.org"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-03-28 SQL::ReservedWords::SQLite(3pm)