Search Results

Search: Posts Made By: maouinin
1,487
Posted By maouinin
Thanks for the second variation. This one shows...
Thanks for the second variation. This one shows up in the shell history. Go figure. :rolleyes:
1,487
Posted By maouinin
Work brilliantly. Thank you. ---------- Post...
Work brilliantly. Thank you.

---------- Post updated at 01:17 AM ---------- Previous update was at 01:11 AM ----------



Works brilliantly, too. Just one question. I use the bash shell and...
1,487
Posted By maouinin
Replacing individual characters with a pattern.
Given a paragraph of text which individual words have been prepended with an equals sign, I want to replace the individual characters in each of the marked words with blank spaces (two underscores...
3,756
Posted By maouinin
This also works brilliantly. Given: I...
This also works brilliantly.

Given:

I am =honored to be with you =today at your commencement
=from =one =of =the =finest universities in the world. I
never =graduated from =college. Truth...
3,756
Posted By maouinin
Thanks for all replies. This seems to work...
Thanks for all replies. This seems to work beautifully now:
awk '
/=/ {
for( i = 1; i <= NF; i++ )
{
if( substr( $(i), 1, 1 ) == "=" )
$(i) =...
3,756
Posted By maouinin
Thank you! Thank you! Thank you. This is exactly...
Thank you! Thank you! Thank you. This is exactly the type of thing I was looking for. My sed skills are rudimentary and my awk not even up to that level, but this gives me somewhere to start. I don't...
3,756
Posted By maouinin
count and number instances of a character in sed or awk
I currently use LaTeX together with a sed script to set cloze test papers for my students. I currently pepend and equals sign to the front of the words I want to leave out in the finished test,...
Showing results 1 to 7 of 7

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