Hi,
I have a file that gets automatically generated and it would look something like
sakjsd
adssad
{{word}}
sddsasd
dsdsasa
.
.
.
So basically what I want to do is just keep the stuff below the {{word}} marker. The marker includes the brackets. Is there any command to delete the... (3 Replies)
Hi ,
I have a script taht returns result in teh following format :
End of input file.
a,b,c
3,4,5
s,d,f,
End of input file.
d,t,h
r,t,y,
4,6,9
a,4,f
e,6,7
End of input file.
w,e,r
the script that gives this result is :
tcpdump ..... | |sort|uniq -c | head -10 (2 Replies)
Hello,
How would one delete every other two lines using VI? For example, I have the following 8 lines:
Line1
Line2
Line3
Line4
Line5
Line6
Line7
Line8
And wish to only delete lines 3-4 and 7-8. Is there a certain pattern which would make this easier?
Thank you,
-Jahn (8 Replies)
Hi All,
I have too many .gz files (test.gz).
Task is to remove first line of each file.
Can I do it without unzipping the files?
Your help is appreciated. (4 Replies)
hey
i m kinda new to this so i will appreciate any help
, i have this list of values:
pwwn = 0x50012482009cd7a7 nwwn=0x50012482009cd7a6 port_id = 0x280200
pwwn = 0x5001248201bcd7a7 nwwn=0x5001248201bcd7a6 port_id = 0x280300
pwwn = 0x50012482009c51ad nwwn=0x50012482009c51ac port_id =... (4 Replies)
Hi,
I have a weird requirement. I am having a file with 12fields in it and the end of the line for each record is "\n" (Just \n and no carriage returns) and the field delimiter is "|". Problem is I can have new line characters in any field in the data and these new line characters can even come... (11 Replies)
Hi,
I have a file like this
>hg19_chr1_123_456_+
asndbansbdahsjdbfsjhfghjdsghjdghjdjhdghjjdkhfsdkjfhdsjkdkjghkjdhgfjkhjfkf
hasjgdhjsgfhjdsgfdsgfjhdgjhdjhdhjdfhjdfjgfdfbdghjbfjksdhfjsfdghjgdhjgfdjhgd
jhgdfj
>hg19_chr1_123_456_-... (5 Replies)
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
I need to remove double quoted strings from specific lines in a file. The specific line numbers are a variable. For example, line 5 of the file contains
A B C "string"
I want to remove "string". The following sed command works:
sed '5 s/\"*\"//' $file
If there are multiple... (2 Replies)
Discussion started by: rennatsb
2 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)