Search Results

Search: Posts Made By: Badhrish
Forum: Programming 02-20-2015
4,910
Posted By drl
Hi. Also a few available utilities: ...
Hi.

Also a few available utilities:
#!/usr/bin/env bash

# @(#) s1 Demonstrate colorize diff output.
# ANSIfilter:
# André Simon - Startseite (http://www.andre-simon.de/)

# Utility...
4,102
Posted By RudiC
Try alsosed -r...
Try alsosed -r 's/([^^>])(<font>)/\1\n\2/g;s/(<\/font>)([^$>])/\1\n\2/g' file
<font>abc</font>
def
<font>ghi</font>
4,102
Posted By RavinderSingh13
Hello Badhrish, Following may help you in...
Hello Badhrish,

Following may help you in same, if your all input data is in same provided form as per your shown input.

awk -F"</font>" '{for(i=1;i<=NF;i++){if($i ~ /^</ && $i !~ /^$/){print...
Showing results 1 to 3 of 3

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