Hi all,
I have a bunch of files that are named like 12543, 467249877, etc all over some directories.These files are named only with numbers, they dont have any letters or special characters in their file names. Could you please help me out and give me some command/script to remove only those... (6 Replies)
Hi all,
Can I edit this script:
find . -type f | while read i;do && mv "$i" "${i//abc/}" ;done
so that it will not only take out abc from the filename but also take out any numbers that might be in the filename as well.
An example would be,
Input:
filename abc 2009.mov
Output:... (7 Replies)
How can I remove the numeric (1,2,3,4,5,etc.) in front of each line? The file look like this..
1CREATE OR REPLACE pROD (p_sc_id number,
2 p_snap_id number , p_sid number, p_halt varchar2 default 'N', p_a_nm varchar2 )
3 as
4 v_rtn number;
5
6 v_rtn... (3 Replies)
Hi,
I am trying to cleanup 7 or 10 digits numeric from the file. So for example :
Input :
3M Corporation
3M Inc. 888-356-8765
3M Inc. 356-8765
3M Inc. 3568765
3M Inc. 356-8765
3M 8883568765 Inc.
Output :
3M Corporation
3M Inc. - -
3M Inc. -
3M Inc.
3M Inc. - (8 Replies)
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt 0 80282 Severe myopia contributed to Ron's inferiority complex. train/dr4/fklc0/sx355.txt 0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
With the... (1 Reply)
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Hi,
I have numerous files which have data in the following format
A|B|123.|Mr.|45.66|33|zz
L|16.|33.45|AC.|45.
I want to remove decimal point only if it is last character in a number.
O/p should be
A|B|123|Mr.|45.66|33|zz
L|16|33.45|AC.|45
I tried this
sed -e 's/.|/|/g'
Problem... (6 Replies)
Hi,
I have a file which looks like this
FORD|1333-1| 10000100010203| 100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
I need the output to look like this
FORD|1333-1|10000100010203|100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
The leading... (8 Replies)
Discussion started by: wahi80
8 Replies
LEARN ABOUT DEBIAN
roffit
roffit(1) roffit Manual roffit(1)NAME
roffit - convert nroff to HTML
SYNOPSIS
roffit [options] < inputfile > outputfile
DESCRIPTION
roffit converts the inputfile to outputfile. The inputfile must be an nroff formatted man page, and the outputfile will be an HTML docu-
ment.
OPTIONS --bare The output HTML will not include any HTML, HEAD or BODY tags. Also not that when this is selected, there will be no inlined CSS but
you will have to define the necessary classes yourself.
--version
Display version number and exit
--mandir=<dir>
Set a directory in which roffit will check for other man pages (in nroff [name].[num] format) that this one refers to. If found, a
<a href> link will be made to that page with a html extension instead of the number. The file name in the generated link will be
prefixed by the dir given with --hrefdir.
This works for references specified as manpage(3) (within the emhpasis foformatting) and in a plain .BR section (often used in the
SEE ALSO section).
--hrefdir=<dir>
Specify a directory to prefix generated href links created with the --mandir option. This defaults to ".".
CSS CLASSES
h2.nroffsh
The nroff ".SH" section. These are normally the "headlines" before each sub section within the man page.
p.nroffip
The nroff ".IP" section. These are normally the bullet kind used to list each option out of several in a list. Usually followed by a
p.level0 containining the descriptive text.
p.level0
Normal text at the first level. Normally not indented.
p.level1
Text at next logical indent level. Normally indented one level right.
p.level2
Text at the second logical indent level. Normally indented two levels right.
span.bold
Text marked to be bold.
span.manpage
Text marked as a reference to another man page.
span.emphasis
Text marked to be emphasized.
p.roffit
Used for the advertising final paragraph.
WWW
http://daniel.haxx.se/projects/roffit
roffit 0.6 27 Feb 2004 roffit(1)