Hi there, Unix Gurus
Working with big listings of english sentences for my pupils, of the type:
1. If the boss's son had been , someone would have asked for money by now.
2. Look, I haven't a crime, so why can't you let me go?
....
I wondered how to extract the words between brackets in... (7 Replies)
Hello,
I am interested in finding out whether someone has a perl or awk script which takes a set of letters such as wak and referring to a dictionary spews out all possible forms such as awk, kaw etc.
If someone has such a script, could it be put up please. The script should handle Unicode.
Many... (0 Replies)
Hi buddies ! I need some help with one grep command :) I have this table:
1 Petras Pavardenis 1980 5
08 Linas Bajoriunas 1970 10
3 Saulius Matikaitis 1982 2
5 Mindaugas Stulgis 1990... (1 Reply)
Hi All!
can anyone help me with this code?
I want to count words or letters in every line with
if(count>20){else echo $myline}
awk '/<script /{p=1} /<\/script>/{p=0; next}!p' index.html | while read myline; do
echo $myline
done
Thank you !!! (3 Replies)
I am making a word game and I am wondering how to find and arrange words in a list that have the same letters. In my game, you are presented with 5 letters, and you then have to rearrange the letters tp make a word. So the word could be "acorn", but those 5 letters could also make up "narco" or... (2 Replies)
I have a file with hundreds of lines in it. I wanted to extract anything that matches the following:
KR followed by 4 digits:
example KR1201
cat list | sed "s///g"
Is the closest I've come, and obviously it is not what I want. This would remove all of the items that I want and leave me... (2 Replies)
Hallo,
I need to extract distinct sequence of letters for example from 136 to 193
Files are quite big, so I would prefer not to use "fold -w1"
Thank you very much
Input file look like this:
1 cttttacctt catgtgtttt tgcagatatt tgttcataat aacatcttct ttttaagtta
61 ttaaaatctt... (4 Replies)
I have a sample text file with file name: sample.txt
The text file has the following text.
this is an example text where we have to extract certain words before and after certain word these words can be used later to get more information
I want to extract n (a constant) words before and... (2 Replies)
Hello, I have a file containing different words. How can i print the words which contain at least one small letter, for example if i have:
today TOMORROw 12345 123a
next preViou5 no
it should print the following:
today TOMORROw 123a
next preViou5 no
Please use code tags as required... (5 Replies)
Hi there, Unixers
I need to extract ALL the words from a text which aresurrounded by square brackets. I am using this piece of code
sed 's/.*\.*/\1/g' inputfile > outputfile
but I only get one word for every paragraph, why?
Please use CODE tags as required by forum rules! (7 Replies)
Discussion started by: eldeingles
7 Replies
LEARN ABOUT OSF1
deroff
deroff(1) General Commands Manual deroff(1)NAME
deroff - Deletes neqn, nroff, and tbl constructs
SYNOPSIS
deroff [-i | -l] [-kpuw] [-ma | -me | -mm | -ms] file...
deroff [-i | -l] [-kpuw] -mm-ml file...
The deroff command reads the specified files (or standard input by default), removes all nroff requests, macro calls, backslash constructs,
eqn constructs (between and lines and between delimiters), and tbl descriptions, replacing many of them with spaces or blank lines, and
writes the remainder of the file to standard output.
OPTIONS
Suppresses processing of included files (.so and Keeps blocks of text specified by requests or macros; for example, the request. Sup-
presses processing of included files whose names begin with /usr/lib (such as macro files in /usr/lib/tmac). Interprets man macros only.
Interprets me macros only. Ignores mm macros and deletes mm list structures. The -mm option must be specified with this option. Inter-
prets ms and mm macros only. Interprets ms macros only. Performs special paragraph processing. Removes _ and in underlined and
boldfaced words. Automatically sets the -w option. Formats output into a word list, containing one word per line, with all other charac-
ters deleted.
In text, a word is any string that contains at least two letters and is composed of letters, digits, ampersands (&), and apostrophes (').
In a macro call, a word is a string that begins with at least two letters and contains a total of at least three letters. Delimiters are
any characters other than letters, digits, ampersands, and apostrophes.
Trailing ampersands and apostrophes are removed from words.
DESCRIPTION
The deroff command normally follows chains of included files (.so and requests) and processes those files. If a file was already included,
a naming it is ignored and a
deroff(1)