hi,
if i have a string of letters and seperatly i have a single letter. how do i check whether that specific letter is in my string aswell? any ideas? (2 Replies)
Hi,
I have a file 'imei_01.txt' having the following contents:
$ cat imei_01.txt
a123456
bbr22135
yet223
where I want to check whether the expression 'first single alphabet followed by 6 digits' is present in the file (here it is the first record 'a123456')
I am using the following... (5 Replies)
Hi,
I have a file which has the below information
tm.orbit72
tm.orbit12
tm.orbit78
tm.orbitye
I want to print the last two letters in the above file. Please let me know how can i do that. (6 Replies)
Hi gurus,
A file contains many words in format "ABC.XXXX.XXXX.X.GET.LOG" (X->varying). Now my shell script want this list (only words in formatABC.XXXX.XXXX.X.GET.LOG ) to continue the process. Pls help me.
Thanks,
Poova. (8 Replies)
Hi I have a huge line like the following:
this word and many other words AA122134 other and other words and AA224466 and other other other other word AA667210 words
I only want extract the words AA?????? and put them in a column, how could i do ?
thx so much! (7 Replies)
I trying to match the begining of the following line in a perl script with a regular expression.
$ENV{'ORACLE_HOME'}
I tried this regluar expession:
/\$ENV\{\'ORACLE_HOME\'\}/
Instead of match, I got a blank prompt >
It seems to be a problem with the single quote. If I take it... (11 Replies)
Hi all,
I have 7 words
CAD
CD
HT
RA
T1D
T2D
BD
Now I have 1 file which contain data in large number of rows and columns
from 2 nd column onwards it contain any of these 7 words or may be more than one words among above 7 words:
these 7 names are present in starting from 2nd ... (7 Replies)
Hi friends,
I have a some files in a directory. for example
856-abc
856-def
851-abc
945-def
956-abc
852-abc
i want to display only those files whose name starts with 856* 945* and 851* using a single pattern.
i.e
856-abc
856-def
851-abc
945-def
the rest of the two files... (2 Replies)
Hello, how in bash i can get directory loop, but only choose those folders with specific word in it, so it will only echo those with specific word
#!/bin/bash
for filename in /home/test/*
do
if ; then
echo $filename;
fithx! (4 Replies)
Hi,
I want to know which pattern matching technique will be giving better performance and quick result.
I will be having the patterns in a file and want to read that patterns and search through a whole file of say 70 MB size. whether if i initially create a pattern matching string while... (7 Replies)
Discussion started by: ananan
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)