Hi,
I have one txt file, and I want replace 2 diffrent texts with somther text and the same time, I want to send that to print..
something like
sed -e 's/Times-Roman/Helvetica/'|sed -e 's/Times/Helvetica/' oldfile > newfile < lp
is this will workout? any idea? (1 Reply)
Morning, people!
I'd like to call upon your expertise again, this time for a sed endeavor.
I've already searched around the forums, didn't find anything that helped yet.
background: Solaris 9.x, it's a closed system and there are restrictions to what is portable to it. So let's assume I... (4 Replies)
Good day.
Trying to make a sed script to take text file in a certain format and turn it into mostly formatted html.
I'm 95% there but this last bit is hurting my head finally.
Here's a portion of the text-
Budgeting and Debt:
Consumer Credit Counseling of Western PA
CareerLink
112... (5 Replies)
I've been using sed to help with reformatting some html content into latex slides using the beamer class. Since I'm new to sed, I've been reading a lot about it but I'm stuck on this one problem.
I have text that looks like this:
*******************
line of text that needs to be... (4 Replies)
In end of https://www.unix.com/shell-programming-scripting/103227-while-read-loop-scope-variables-shell.html
mjd_tech gives script which can read some values directly without manually input, but if no value is the right one, my understand is, it will on hold for waiting the next input, but when I... (7 Replies)
Hi Folks,
Below is an extract from a VME Print file which gets handed over to a print house. The problem I have is not that tricky rther looking for a way to handle it in a simple and clean way.
Is to first select all lines with "0058" which have four spaces so "0058 " as the selcetion... (3 Replies)
Hi Experts,
i have a file like below
****
table name is xyz
row count for previous day 10
row count for today 20
diff between previous and today 10
scan result PASSED
****
table name is abc
row count for previous day 90
row count for today 35
diff between previous and today 55... (4 Replies)
Hi
I am working with sed to get string replace and print all the lines.
Cat f1
<text1>
tag123 44412c232place1
text456-text=
tag12 44412c232place4
jjaa
TAG456 44412c232place1066dfdf
erer
..
i have used this command -
sed -n '/tag/ s#place#SomePlace#gp' f1
It gives me... (2 Replies)
I wrote an awk script to filter "uninteresting" commands from my ~/.bash_history (I know about HISTIGNORE, but I don't want to exclude these commands from my current session's history, I just want to avoid persisting them across sessions).
The history file can contain multi-line entries with... (6 Replies)