Search Results

Search: Posts Made By: samask
Forum: Solaris 05-11-2018
1,929
Posted By samask
Thank you for this, quite useful to me as well.
Thank you for this, quite useful to me as well.
2,434
Posted By samask
Thank you, it works perfectly. I can see it...
Thank you, it works perfectly.

I can see it uses a different approach. Now I can learn more. :)

Such brevity, but at the same time expressivity, that is why I feel AWK is so elegant.

Thank...
2,434
Posted By samask
Hi, It works beautifully, and it is...
Hi,

It works beautifully, and it is amazingly fast!

The file names are written with a colon, which is not allowed on OS X:
dw:1.txt, is there a way to have a dash instead, like
dw-1.txt?
...
2,434
Posted By samask
Non trivial file splitting, saving with variable filename
Hello,

Although I have found similar questions, I could not find advice that could help with our problem.

The issue:

We have a few thousands text files (books).

Each book has many...
2,273
Posted By samask
Wow, thank you so much birei! Thank you for...
Wow, thank you so much birei!

Thank you for the explanation, and also for your code.
It is just elegant, and it works perfectly.

Thank you so much once again.

Sam

---------- Post updated...
2,273
Posted By samask
regex replace all groups issue
Hello,

Although I have found similar questions, I could not find
advice that could help with my problem. The issue:

I am trying to replace all occurrences of a regex, but
I cannot make the...
6,151
Posted By samask
@radoulov, That is an *awesome* explanation....
@radoulov,

That is an *awesome* explanation. :b: :b: :b: :b:

I am so grateful for the code and the lesson.

Thank you!
6,151
Posted By samask
@binlib, I do have gawk, and I can confirm...
@binlib,

I do have gawk, and I can confirm that the your code works also perfectly.

Thank you!
6,151
Posted By samask
Excellent! It works flawlessly now. I felt...
Excellent! It works flawlessly now.

I felt bad that I bothered you to tweak the code, but now I am happy. In that way, looking at how you have improved it, I can learn even more :)

Thank you so...
6,151
Posted By samask
I simplified a test case, with different number...
I simplified a test case, with different number of newlines:



[block 4] The grooves separate a series of rounded bars or arches, the
branchial or visceral arches, in which thickening of the...
6,151
Posted By samask
Wow, thank you so much Radoulov! That AWK...
Wow, thank you so much Radoulov!

That AWK code is just beautiful, and it works perfectly.

The only minor issue is that not all the blocks of text are separated by the same number of new lines....
6,151
Posted By samask
Filter or remove duplicate block of text without distinguishing marks or fields
Hello,

Although I have found similar questions, I could not find advice that
could help with our problem.

The issue:

We have several hundreds text files containing repeated blocks of text...
Showing results 1 to 12 of 12

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