Search Results

Search: Posts Made By: chewbacca72
3,536
Posted By chewbacca72
Thanks, both vgersh99 and alex_5161 solutions...
Thanks, both vgersh99 and alex_5161 solutions works.
3,536
Posted By chewbacca72
Padow, The example I provided has two...
Padow,

The example I provided has two occurances of <> within the same line. The final script will need to work with much more complex lines some containing 5 or 6 <>. I'm not oppossed to using...
3,536
Posted By chewbacca72
vgersh99, I updated my inital post to follow...
vgersh99,

I updated my inital post to follow the correct format.

Thanks
3,536
Posted By chewbacca72
chipcmc, your update fixes my problem of...
chipcmc,

your update fixes my problem of having the output on a signle line but I still have the beggining of the line to deal with:

awk 'BEGIN{RS="<";FS=">"}{printf $1" " } END {printf "\n"} '...
3,536
Posted By chewbacca72
sed awk question
I have a string that I need to remove data that is not within <>. For example:
this is a <test> of removing <text> outside brackets
output should be:
<test> <text>
or:
test text

I can use...
Showing results 1 to 5 of 5

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