Search Results

Search: Posts Made By: demoprog
1,928
Posted By demoprog
This also works for me $ sed -r 's/^...
This also works for me


$ sed -r 's/^ +<LL>def/\t<LL>my/' file.txt
1,928
Posted By demoprog
reg exp for sed
$ cat file.txt
asd
<AA>dev
<LL>def
<RR>sha

This works for me:

$ sed -r 's/^ .*<LL>def/\t<LL>my/' file.txt
asd
<AA>dev
<LL>my
<RR>sha

...
2,911
Posted By demoprog
need help on xml processing
I am trying to divide a xml file(my.xml) like this:


<?xml version="1.0" encoding="UTF-8"?>
<Proto PName="hmmmmmmm">
<Menu id="A" ver="1">
<P>
<P name="AA"...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy