Search Results

Search: Posts Made By: lokaish23
7,946
Posted By Jotne
Even some shorter :) awk '{ORS=(/\|"[...
Even some shorter :)
awk '{ORS=(/\|"[ ]*$/)?"":RS}1' file
961
Posted By Shell_Life
Based on requirement: cut -d'|' -f4-7 Inp_File...
Based on requirement:
cut -d'|' -f4-7 Inp_File | sort -u
6,449
Posted By Scott
Hi. $ echo "<mytag> ' </mytag>" | sed...
Hi.

$ echo "<mytag> ' </mytag>" | sed "s/'/\&apos;/g"
<mytag> apos; </mytag>
7,752
Posted By durden_tyler
I guess you could use negative lookahead to solve...
I guess you could use negative lookahead to solve this. I've added some dummy (although improbable) data in the input file to test different cases -


$
$
$ cat f2
<mytag>mydata</mytag>...
Showing results 1 to 4 of 4

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