Search Results

Search: Posts Made By: dazhoop
3,664
Posted By dazhoop
ygemici, I created the Hello World file as...
ygemici, I created the Hello World file as indicated in your post and ran the sed, but the output was identical to the input. I have also tried the following (as I think they are the fit to my file)...
3,664
Posted By dazhoop
SED on cygwin not working with Hex or Octal
balajesuri, yes of course, line-by-line. A bad example of overlooking the obvious!

The Perl provided doesn't work for me, however, that is another subject for another thread.

This question...
3,664
Posted By dazhoop
SED on cygwin not working with Hex or Octal
Thanks for your reply. Sorry ygemici, I don't quite follow what you mean.

The input file is an HTML file, the product of a wget to an external web site.

The output file is created by whatever...
3,664
Posted By dazhoop
SED on cygwin not working with Hex or Octal
Hi, I have downloaded a web page that I need to cleanup before passing to xmlstarlet.

Using UltraEdit's HEX utility part of my download is as follows:

3C 2F 61 3E 0A 09 0A 09 09 3C 2F 61 3E
...
24,986
Posted By dazhoop
awk + gsub to search multiple input values & replace with located string + extra text
Thanks ahamed101, simple as that huh! Works perfectly.

Mod - will ensure to follow correct posting procedure next time around.
24,986
Posted By dazhoop
awk + gsub to search multiple input values & replace with located string + extra text
Hi all.

I have the following command that is successfully searching for any one of the strings on all lines of a file and replacing it with the instructed value.

cat inputFile | awk...
Showing results 1 to 6 of 6

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