Sponsored Content
Top Forums Shell Programming and Scripting Sed scripting, match text within line and replace Post 302342992 by boolean2222 on Tuesday 11th of August 2009 08:48:33 AM
Old 08-11-2009
Perfect, thank you!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Replace text in match files

Hi all, I want to replace text 'DEF' for those files containing text 'ABC'. I can only locate the files containing text 'ABC', but I don't know how to replace the text 'ABC' with 'DEF'. I use the following command to locate the files containing 'ABC' find . -exec grep -l 'ABC'... (1 Reply)
Discussion started by: wilsonchan1000
1 Replies

2. Shell Programming and Scripting

sed - Replace Line which contains the Pattern match with a new line

I need to replace the line containing "STAGE_DB" with the line "STAGE_DB $DB # database that contains the table being loaded ($workingDB)" Here $DB is passed during the runtime. How can I do this? Thanks, Kousikan (2 Replies)
Discussion started by: kousikan
2 Replies

3. UNIX for Dummies Questions & Answers

match a character in a line and replace

Hi, I have a file with large number of records. Sample below: 123456789QWERT2U 2 erter 987123678ZXCVB6Y 5 7689 934567123GHJKUI4O 7 - -- -- I want the 16th character in each record to be replaced with the below as follows;so 2 will become K, 6 will become O and 4 will become... (3 Replies)
Discussion started by: er_ashu
3 Replies

4. Shell Programming and Scripting

SED to replace exact match, not first occurrence.

Lets say I have file.txt: (Product:Price:QuantityAvailable) (: as delimiter) Chocolate:5:5 Banana:33:3 I am doing a edit/update function. I want to change the Quantity Available, so I tried using the SED command to replace 5, but my Price which is also 5 is changed instead. (for the Banana... (13 Replies)
Discussion started by: andylbh
13 Replies

5. Shell Programming and Scripting

I need to know how to replace a line after a pattern match with an empty line using SED

Hi How Are you? I am doing fine! I need to go now? I will see you tomorrow! Basically I need to replace the entire line containing "doing" with a blank line: I need to the following output: Hi How Are you? I need to go now? I will see you tomorrow! Thanks in advance.... (1 Reply)
Discussion started by: sags007_99
1 Replies

6. Shell Programming and Scripting

sed Character match and replace

Hello All I am struck in the issue which I want to share with all of you. What I am trying to do is For every line in a file I have to replace a particular character from the given character in a file For Example Suppose the data is 1111x2222 1111x2222 2222y3333 1111x2222 I... (4 Replies)
Discussion started by: adisky123
4 Replies

7. Shell Programming and Scripting

Replace second match+awk/sed

I have a text file that looks like this: ----------------------------------------- sta WP00 time 10/23/2013 20:10:17 sensor trillium_240_2 0 583 add close sensor trillium_240_2 10/23/2013 20:10:17 sensor trillium_120 0 279 add close sensor trillium_120 10/23/2013 20:10:35... (11 Replies)
Discussion started by: klane
11 Replies

8. Shell Programming and Scripting

Match a char with duplicates in a line and replace one of them

Hi, i have a huge file that need to check for a pattern that occur more than once in a line like below:- #lkk>cd-m>A0DV0>192.134.1.1 blablabladsdjsk jshdfskfslfs #lqk>cd-m>A1SV0>192.14.11.1 blalalbnalablab balablablajakjakjakja #pldqw>sf-w>PH67FR>168.55.1.1 balablabala... (5 Replies)
Discussion started by: redse171
5 Replies

9. Shell Programming and Scripting

Need help with sed to match and replace a string

friends I am struck in a situation where I need to comment a line start with space as below in a file root@LOCALHOST * rw LOCALHOST* r I should comment second line only Any help please (16 Replies)
Discussion started by: mallak
16 Replies

10. Shell Programming and Scripting

sed : replace Nth match in a file

I have a situation where a file "config.txt" looks like this Servername: OS: Serername: OS: Servername: OS: .... .... ... Servername: OS: looking for the sed syntax to replace the "Nth" occurrence of Servername (i would apply the same logic to OS as well), want to replace the Nth... (4 Replies)
Discussion started by: alldbest
4 Replies
LaTeX2HTML(1)						      General Commands Manual						     LaTeX2HTML(1)

NAME
latex2html - translate LaTeX files to HTML (HyperText Markup Language) SYNOPSIS
latex2html [-address author-address] [-antialias] [-antialias_text] [-ascii_mode] [-auto_navigation] [-auto_prefix] [-biblio URL] [-bottom_navigation] [-contents URL] [-contents_in_navigation] [-custom_titles] [-debug] [-dir output-directory] [-discard] [-down_title string] [-down_url URL] [-external_file filename] [-external_images] [-font_size size] [-h(elp)] [-html_version (2.0|3.0|3.2)[,(math|i18n|table)]*] [-images_only] [-index URL] [-index_in_navigation] [-info string] [-init_file file] [-iso_language type] [-ldump] [-link num] [-local_icons] [-long_titles num] [-next_page_in_navigation] [-no_antialias] [-no_antialias_text] [-no_auto_link] [-no_footnode] [-no_fork] [-no_images] [-no_math] [-no_navigation] [-no_reuse] [-no_subdir] [-no_tex_defs] [-no_white] [-nolatex] [-numbered_footnotes] [-prefix filename-prefix] [-prev_title string] [-prev_url URL] [-previous_page_in_navigation] [-ps_images] [-reuse reuse_option] [-scalable_fonts] [-short_extn] [-short_index] [-show_section_numbers] [-split + num] [-split num] [-t top-page-title] [-tmp path] [-toc_depth num] [-toc_stars] [-top_navigation] [-unsegment] [-up_title string] [-up_url URL] [-v] [-verbosity num] [-white] file(s) DESCRIPTION
LaTeX2HTML is a Perl program that translates LaTeX source files into HTML. For each source file given as an argument the translator will create a directory containing the corresponding HTML files. See the WWW online documentation or the /usr/share/doc/pack- ages/latex2html/manual.ps.gz file for more detailed information and examples. PROBLEMS
For information on various problems and remedies see the WWW online documentation or the documents available in the distribution. A mail- ing list for technical discussion about latex2html, bugs and enhancements is available at latex2html@tug.org SUSE installation In /usr/share/doc/packages/latex2html you may find more information about this package. AUTHOR
Nikos Drakos, Computer Based Learning Unit, University of Leeds <nikos@cbl.leeds.ac.uk>. Several people have contributed suggestions, ideas, solutions, support and encouragement. The pstogif script uses the pstoppm.ps postscript program originally written by Phillip Conrad (Perfect Byte, Inc.) and modified by L. Peter Deutsch (Aladdin Enterprises). 7th Edition LaTeX2HTML(1)
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy