12-19-2017
I've move this thread from "How to Post in the The UNIX and Linux Forums". Please stop posting technical questions in that forum.
Please post what you've tried so far, in code tags.
This User Gave Thanks to Scott For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a very long string (millions of characters).
I have a file with start location and length that is thousands of rows long:
Start Length
5 10
16 21
44 100
215 37
...
I'd like to extract the substring that corresponds to the start and length from each row of the list:
I tried... (7 Replies)
Discussion started by: dcfargo
7 Replies
2. Shell Programming and Scripting
Hi All!!
I have a large file containing millions of record. My purpose is to extract 7 characters immediately after text '19' from this file (including text '19') and save the result in new file.
So, my OUTPUT would be as under :
191234561
194567894
192789005
198839408
and so on.....
... (7 Replies)
Discussion started by: parshant_bvcoe
7 Replies
3. Shell Programming and Scripting
Hello,
I have got one file with more than 120+ million records(35 GB in size). I have to extract some relevant data from file based on some parameter and generate other output file.
What will be the besat and fastest way to extract the ne file.
sample file format :--... (2 Replies)
Discussion started by: learner16s
2 Replies
4. Shell Programming and Scripting
Hi All,
I am trying to extract data from a large text file , I want to extract lines which contains a five digit number followed by a hyphen , like
12345- , i tried with egrep ,eg : egrep "+" text.txt
but which returns all the lines which contains any number of digits followed by hyhen ,... (19 Replies)
Discussion started by: shijujoe
19 Replies
5. Shell Programming and Scripting
trying to extract the numbers in this file name:
fname="ebcdic.f0633.cmp_ebcdic.f0633.bin"
fnametmp=${fname#*(V|v|F|f)}
parse=${fnametmp%%(ENC|enc|CMP|cmp|BIN|bin)}}
echo FLRECL=$parse
result is FLRECL=0633.cmp_ebcdic.f0633
expected result FLRECL=0633
my guru is on holiday and i need... (5 Replies)
Discussion started by: mambo2523
5 Replies
6. Shell Programming and Scripting
Dear gurus
I have several files with the following format filenameCCYYMMDD , that is the last 8 characters will be the date in CCYYMMDD format. eg FILENAME20110523 .
Could anyone please put me through on how to extract only the last 8 characters from the files.
I am thinking of using awk,sed... (2 Replies)
Discussion started by: erinlomo
2 Replies
7. Shell Programming and Scripting
Hello people :)
That's here my first message to your forum, so I guess it would be fine ^^
I have a request about a code I want to use.
Actually, my system use a large variable, including much informations but those informations can change by more and I want to extract one of thoses... (26 Replies)
Discussion started by: WolwX
26 Replies
8. Shell Programming and Scripting
Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run on a cron. My mac server has curl on it. So i am assuming i should be using this to download the... (3 Replies)
Discussion started by: timgolding
3 Replies
9. UNIX for Dummies Questions & Answers
Dear all,
I want to extract around 300 columns from a very large file with almost 2million columns. There are no headers, but I can find out which column numbers I want. I know I can extract with the function 'cut -f2' for example just the second column but how do I do this for such a large... (1 Reply)
Discussion started by: fndijk
1 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have records in unix file like below. In this file, we have empty fields from 4th Column to 22nd Column. I have some 200000 records in a file. I want to extract records only which have empty fields from 4th field to 22nd filed. This file is comma separated file. what is the unix... (2 Replies)
Discussion started by: rakeshp
2 Replies
FLAME(1) General Commands Manual FLAME(1)
NAME
flame -- reply to Usenet News posting automatically
SYNOPSIS
flame [options] [filename]
DESCRIPTION
Flame is a AI tool providing an automated method for replying to articles posted to Usenet News. Special care is paid to allow the user to
specify the type of reply he desires. The following options are supported by flame:
-- Take input from stdin.
-x regexp
Crosspost to all newsgroups matching regexp.
-n number
Post this reply number times.
-b Reply in BIFF MODE.
-d Delay response until original posting expires.
-m Misdirect to a random Author.
-r ROT13 quotes from original posting.
-g regexp
Reply to all messages in newsgroups matching regexp.
-A Call the Author Assh*le in 12 languages.
-B Bait the Author.
-C Accuse the Author of communist leanings.
-D Denigrate the Author.
-E Picks apart the Author's educational background.
-F Accuse the Author of fascist leanings.
-G Post using Greek insult module.
-H Accuse the Author of homophobic leanings.
-I Question the Author's intelligence.
-J Accuse the Author of purchasing Japanese imports.
-K Accuse the Author of working for the KGB, MOSSAD, CIA, or MI5 as appropriate.
-L Post using Latin insult module.
-M Insult the Author's mother.
-N Accuse the Author of Neo-Nazi leanings.
-O Quote obscure references proving falsehood of the posting.
-P Question the Author's parentage.
-Q Accuse the Author of deviant sexual practices.
-R Accuse the Author of racist leaning.
-S Accuse the Author of sexist leanings.
-T Accuse the Author of cross dressing.
-U State that the Author just doesn't understand anything.
-V Pretend sympathy for Author's virgin sensibilities.
-W Accuse the Author of voting for George Bush.
-X Prepend obscene adjectives wherever syntactically correct.
-Y Accuse the Author of PLO membership.
-Z Accuse the Author of Zionist leanings.
ENVIRONMENT
The environment variable FLAME_TYPE can be set to any combination of the above parameters, and will be used as the default flame type to
generate.
The environment variable OBSCENE points to a file containing miscellaneous obscene adjectives for the -X option above.
MACROS
Macro Support will be added to the next release of flame.
AUTHOR
Unknown
FILES
.lastflame
This file contains the number of the last article flamed. Used when flameing an entire newsgroup.
.prefflame
This file contains the user's preferred flames.
.altflame
This file contains alternate phrasing of some of the more standard flames. Used to keep the program from flaming itself.
SEE ALSO
rn(1), more(1), newsrc(5), readnews(1), Pnews(1), Rnmail(1)
DIAGNOSTICS
Self Documenting.
BUGS
Occasionally, flame will turn on the user, and flame all outgoing postings. When this happens, the best thing to do reinstall your news
software and flame.
FLAME(1)