I want to edit a huge script file using sed. How can I add the new lines symbols in the red colored places?
sed -e "s/test -z "$x"/if test -z "$x" then echo -1; \n else \n/g" (1 Reply)
Hi all,
I need your help.
For example I have string in file.txt:
-x -a /tmp/dbarchive_NSS_20081204 -f 900 -l 1 2008/12/04 2008/12/04
So, I need to replace symbols from (for e.g.) position 26 till 33 with symbols which I have in file replace.txt
And I have no idea how to do it.
If... (1 Reply)
Hi, I would like to know how could I remove accentes and the symbols: º and ª of a text file with sed. Whis this command doesn't works :-( sed "s/í/i/g" filename Many thanks and sorry for my english! (7 Replies)
i have a file like this
1111_2222#$#$dudgfdk
11111111_343434#$#$334
1111_22222#43445667
i want to remove all those charachetrs from #
how can i do this
Thank in advance
Saravanan (4 Replies)
I have a XML file given as below:
"<ProductUOMAlternativeDetails>
<removetag>
<UOMCode>EA</UOMCode>
<numeratorForConversionToBaseUOM>1</numeratorForConversionToBaseUOM>
<denominatorForConversionToBaseUOM>1</denominatorForConversionToBaseUOM>
<length>0.59</length>
<width>0.96</width> ... (3 Replies)
I have file like below
Hi iam author <br>joseph</br> in france.
I live in my home <br></br> but no food.
I will play footbal <br></br> but i wont play cricket.
I will read all the books <br>all fiction stories</br> i hate horror stories.
I want output like below
Hi iam author... (3 Replies)
hi,
i need to remove the extra spaces in the filed.
Sample:
abc~bd ~bkd123 .. 1space
abc~badf ~bakdsf123 .. 2space
abc~bqed ~bakuowe .. 3space
output:
abc~bd ~bkd123 .. 1space
abc~badf~bakdsf123 .. 2space
abc~bqed~bakuowe .. 3space
i used the following command, (2 Replies)
hi,
i need to remove the extra spaces in the 2nd field.
Sample:
abc|bd |bkd123 .. 1space
abc|badf |bakdsf123 .. 2space
abc|bqe |bakuowe .. 3space
Output:
abc|bd|bkd123
abc|badf|bakdsf123
abc|bqe|bakuowe
i used the following command, (9 Replies)
Hi I am trying to remove all the symbols in a file (testfile1) and using the below command to do that. Its not working for me. Can you help me on what is wrong with below script?
I want to retain only alphabets in a file and remove all the symbols like *:.+= etc
sed 's/^.//g' testfile1 > testfile2 (4 Replies)
Discussion started by: sandeepcm
4 Replies
LEARN ABOUT DEBIAN
check-symbols
CHECK-SYMBOLS(1) General Commands Manual CHECK-SYMBOLS(1)NAME
check-symbols - verify symbols exported by a new library version
SYNOPSIS
check-symbols <source-package> [DEBDIR]
DESCRIPTION
To verify the symbols exported by a new library version, run check-symbols with the name of the source package as argument. check-symbols
will first determine the symbols exported by the existing and installed library version, then install the new library and compare the sym-
bols exported by the new library version with the symbols exported by the old version. For each of the symbols found, check-symbols will
list if the symbol is new, unchanged or has been removed in the new library version.
In case the source package contains multiple binary library packages, all library files in each of the binary packages will be verified.
check-symbols uses nm -D to determine the exported symbols of the libraries.
If no value is given for DEBDIR, the script will assume the new library deb files are stored in /var/cache/pbuilder/result.
EXAMPLES
check-symbols telepathy-glib .
This will:
o Use nm -D to determine the exported symbols of the old,
installed versions of the libraries provided by telepathy-glib.
o Install the binary libraries provided by the new version of
telepathy-glib.
o Compare the output of nm -D of the new libraries with the
output of the old version.
o List the result in diff format.
BUGS
Please report bugs on:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/
SEE ALSO nm(1)AUTHOR
check-symbols was written by Daniel Holbach <daniel.holbach@ubuntu.com> and this manpage by Albert Damen <albrt@gmx.net>. Both are licensed
under the GNU General Public License, version 2.
ubuntu-dev-tools December 9, 2007 CHECK-SYMBOLS(1)