Sponsored Content
Top Forums Shell Programming and Scripting Search and Replace text in folders and Subfolders Post 302506613 by Asheesh on Monday 21st of March 2011 11:27:16 AM
Old 03-21-2011
I have to replace &nbsp with &|nbsp and I am using the folloing command

sed -e "s/&nbsp/&|nbsp/g"

But this replace &nbsp with &nbsp|nbsp...what should i do to get the desired results...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to create folders/subfolders using shellscript

Hi, Can any one help me how to create folders using shellscript.My requirement is: FolderName: Main/Main1 :Main/Main2 :Main/Main3 underSubFolder : Main1/A :Main1/B :Main1/C underSubfolder: A/A1 ... (2 Replies)
Discussion started by: ram2s2001
2 Replies

2. Shell Programming and Scripting

Perl: Search for string on line then search and replace text

Hi All, I have a file that I need to be able to find a pattern match on a line, search that line for a text pattern, and replace that text. An example of 4 lines in my file is: 1. MatchText_randomNumberOfText moreData ReplaceMe moreData 2. MatchText_randomNumberOfText moreData moreData... (4 Replies)
Discussion started by: Crypto
4 Replies

3. Shell Programming and Scripting

Script to Analyze folders and subfolders

I would like to know if there is a script out there that someone may have already written that I can use to analyze folders and sub folders on my AIX system. It can be in perl or a basic korn script. Thanks in advance. (7 Replies)
Discussion started by: seacros
7 Replies

4. UNIX for Advanced & Expert Users

find size of folders and its subfolders with the Owner details

HI, I have the following command that shows me the total size of folders and subfolders : du -hs *| sort -n result: 1.0M sandeep 1.4G sandy 1.4M important 1.6M files but I will need to know the size of folders and its subfolders( not size of individual files though)... (5 Replies)
Discussion started by: bsandeep_80
5 Replies

5. Windows & DOS: Issues & Discussions

Copy folders and subfolders from unix to windows

Sir From a unix machine some folders and their folders have to be copied to windows XP PC. Please help me with a batch file or a shell script. I am new to the the shell and batch files. Thanks in anticipation. sastry (3 Replies)
Discussion started by: chssastry
3 Replies

6. Shell Programming and Scripting

Help to move folders, subfolders and files from unix to windows

Hi Unix Gurus, I am able to copy only files that exist in the parent folder. My parent folder has sub folders and within sub folders there are lots files. I need to copy folder, sub folders and files from Unix to the remote windows SFTP location. The directory structure is something like... (1 Reply)
Discussion started by: shankar1dada
1 Replies

7. Shell Programming and Scripting

search data from text file in different folders

I am fairly new to unix scripting, the problem is i can understand the unix script. but i fail to write. I do not know where to start and how to end. I am sure this forum will help to achive my dream scriptings in unix. Thanks in adv for your help. Here I need.. I have list of columns in one... (2 Replies)
Discussion started by: dsnrhdy
2 Replies

8. Shell Programming and Scripting

Creating matrix from folders and subfolders

Hello, Greetings! please help me produce the following solution. I need to produce one big matrix file from several files in different levels. If it helps, the index folder provides information on chromosome index and the data folder provides information on values for chromosomes. there... (8 Replies)
Discussion started by: newbie83
8 Replies

9. Shell Programming and Scripting

Move specific folders and subfolders in a directory

I am trying to move specific folders and subfolders within a directory using the below. I can see the folders to move and they are at the location, but I am getting an error. Thank you :). mv -v /home/cmccabe/Desktop/NGS/API/6-10-2016{bam/{validation,coverage},bedtools /media/cmccabe/"My... (6 Replies)
Discussion started by: cmccabe
6 Replies

10. UNIX for Beginners Questions & Answers

Command to change add permissions for a new user to all files in all subfolders and folders

Hi there! I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!), I would love some help figuring out this basic command (what I assume is basic). I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies
TRALICS(1)							   User Commands							TRALICS(1)

NAME
tralics - a LaTeX to XML converter SYNOPSIS
tralics [options] source DESCRIPTION
A program for converting LaTeX source into parsable XML files source is the name of the source file, (with or without a extension .tex), and may not start with a hyphen OPTIONS
All options start with a single or double hyphen, they are: -verbose: Prints much more things in the log file -silent: Prints less information on the terminal -input_file FILE: translates file FILE -type FOO: Uses FOO instead of the documentclass value -dir RADIR: indicates where the sources are located -confdir : indicates where the configuration files are located -noxmlerror: no XML element is generated in case of error -interactivemath: reads from the terminal, and prints math formulas on the terminal -config FILE: use FILE instead of default configuration file -noconfig: no configuration file is used -utf8: says that the source is encoded in utf8 instead of latin1 -latin1: overrides -utf8 -utf8output: same as -oe8 -oe8, -oe1, -oe8a -oe1a: specifies output encoding -te8, -te1, -te8a -te1a: terminal and transcript encoding -(no)trivialmath: special math hacking -(no)etex: enable or disable e-TeX extensions -nozerowidthelt: Use &#x200B; rather than <zws/> -nozerowidthspace: no special &#x200B; or <zws/> inserted -noentnames: result contains &#A0; rather than &nbsp; -entnames=true/false: says whether or not you want &nbsp; -noundefmac: alternate XML output for undefined commands -nomathml: this disables mathml mode -nostraightquotes: same as right_quote=B4 -left_quote=2018: sets translation of ` to char U+2018 -right_quote=2019: sets translation of ' to char U+2019 -param foo bar: adds foo="bar" to the configuratin file -usequotes: double quote gives two single quotes -nobibyearerror: no error for wrong years in bib for raweb -nobibyearmodify: no hack for wrong years in bib for raweb -external_prog PGM: uses PGM instead of rahandler.pl for raweb -shell-escape: enable write18{SHELL COMMAND} -tpa_status = title/all: translate all document or title only -distinguish_refer_in_rabib= true/false: special raweb hack -compatibility: keeps compatibility with older versions -default_class=xx: use xx.clt if current class is unknown -(no)math_variant: for <mi mathvariant='script'>X</mi> -check: (obsolete RAweb option) -debug: (raweb option) do not stop on the first error -ps: (raweb) generates PostScript instead of XML -xml -xmlfo -xmltex -xmlhtml -xmllint -xmlall: raweb options SEE ALSO
(See http://www-sop.inria.fr/apics/tralics/raweb.html) Tralics homepage: http://www-sop.inria.fr/apics/tralics This software is governed by the CeCILL license that can be found at http://www.cecill.info. Copyright INRIA/MIAOU/APICS 2002-2008, Jos'e Grimm Licensed under the CeCILL Free Software Licensing Agreement This manual page was written by Ross J. Reedstrom <reedstrm@cnx.org>, starting with help2man output, for the Debian project (but may be used by others). tralics 2.11.6 March 2008 TRALICS(1)
All times are GMT -4. The time now is 10:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy