Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Substitue 'Special Characters' in VI Post 302328596 by ScKaSx on Wednesday 24th of June 2009 05:35:53 PM
Old 06-24-2009
Thanks for the reply scottn,

however what I want to replace is "\begin{}" the thing that is giving me trouble is the "\" backslash which is used for many other things in vi.

Actually the :g//d worked! but it deletes the whole line that contains the string. I just want to replace "\begin{}" with "%".

These characters are killing me!

Cheers,
ScKaSx
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

special characters

I have one file which is named ^? ( the DEL character ) I'd like to know how to rename or copy the file by using its i-node number TYIA (2 Replies)
Discussion started by: nawnaw
2 Replies

2. UNIX for Dummies Questions & Answers

Quoting of special characters

Hello, I am getting very confused as to where should i quote special/metacharacters in shell. Sometimes i write * directly and it works, othertimes i have to do "*". Same is the case with other special characters like /,\,.,$,etc. Can somebody give me link to somewhere where i can found... (1 Reply)
Discussion started by: vibhor_agarwali
1 Replies

3. UNIX for Dummies Questions & Answers

how to see special characters in a file using vi

Hi, I have a file which has special characters. I can't see them when I "vi" the file. But I am sure there are some special un seen characters. How can I see them? Please help. Thx (6 Replies)
Discussion started by: jingi1234
6 Replies

4. Shell Programming and Scripting

sed with special characters

Hi, I am reading a file (GC_JAR.log) which has entries like: 511725.629, 0.1122672 secs] 525268.975, 0.1240036 secs] 527181.835, 0.2068215 secs] 527914.287, 0.2884801 secs] 528457.134, 0.2548725 secs] I want to replace all the entries of "secs]" with just "secs" Thus, the output... (4 Replies)
Discussion started by: itzz.me
4 Replies

5. Shell Programming and Scripting

Special characters

When I open a file in vi, I see the following characters: \302\240 Can someone explain what these characters mean. Is it ASCII format? I need to trim those characters from a file. I am doing the following: tr -d '\302\240' ---------- Post updated at 08:35 PM ---------- Previous... (1 Reply)
Discussion started by: sid1982
1 Replies

6. UNIX for Dummies Questions & Answers

How to see special characters?

Hi all, I was wondering how can i see the special characters like \t, \n or anything else in a file by using Nano or any other linux command like less, more etc (6 Replies)
Discussion started by: gvj
6 Replies

7. Shell Programming and Scripting

special characters

Hey guys, I'm trying to replace "]Facebook" from the text but sed 's/]Facebook/Johan/g' is not working could you please help me with that? (6 Replies)
Discussion started by: Johanni
6 Replies

8. Shell Programming and Scripting

Replace special characters with Escape characters?

i need to replace the any special characters with escape characters like below. test!=123-> test\!\=123 !@#$%^&*()-= to be replaced by \!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
Discussion started by: laknar
8 Replies

9. Shell Programming and Scripting

How to convert special characters?

Hi All, I have some text including Turkish characters and the 3rd party application that reads my file does not supporting this character set (at least, I have no control on it). So, I used below conversion for maximum character support but still have problems with "İ" and "Ş". Application... (5 Replies)
Discussion started by: mrcrowley
5 Replies

10. Shell Programming and Scripting

sed substitue whole file + 1 substitue with variables on one sed line?.

I'm trying to remove '--X' from the whole file and using variables replace $oldvar with $newvar. I have tried with double quotes but it doesn't seem to work. $newvar is set to /usr/bin/bash. Would appreciate some guidance. newvar=$(which bash) oldvar=/bin/bash sed... (1 Reply)
Discussion started by: itman73
1 Replies
LATEX-MK(1)							  [FIXME: manual]						       LATEX-MK(1)

NAME
latex-mk - automate compilation of LaTeX files. SYNOPSIS
latex-mk [options] DESCRIPTION
This manual page documents briefly the latex-mk commands. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. latex-mk is a wrapper script used by the LaTeX-Mk makefile system for LaTeX documents. Its purpose is to run LaTeX the appropriate number of times to resolve all references and page changes associated with resolving references. OPTIONS
A summary of options is included below. For a complete description, see the Info files. -h --help Show description of the script. --version Show version of program. -b --bibtex Force call to BibTeX. --clean Delete log file. --debug Enable debug mode. --ignore-errors Ignore errors. --pdflatex Use pdflatex instead of latex. --tex2page Use tex2page instead of latex. AUTHOR
This manual page was written by Rafael Laboissiere rafael@debian.org for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. COPYRIGHT
Copyright (C) 2006 Rafael Laboissiere [FIXME: source] January 28, 2006 LATEX-MK(1)
All times are GMT -4. The time now is 02:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy