Search Results

Search: Posts Made By: cocostaec
Forum: SuSE 05-16-2011
1,785
Posted By cocostaec
sorry...it is [:punct:] in both...
sorry...it is

[:punct:]

in both cases...the punctuation signs
Forum: Programming 05-16-2011
1,089
Posted By cocostaec
sorry...it is [:punct:] in both...
sorry...it is

[:punct:]

in both cases...the punctuation signs
1,028
Posted By cocostaec
sorry...it is [:punct:] in both...
sorry...it is

[:punct:]

in both cases...the punctuation signs
Forum: SuSE 05-16-2011
1,785
Posted By cocostaec
finding and removing block of identical strings
i have a problem in finding block of identical strings...i solved the problem in finding consecutive identical words and now i want to expand the code in order to find and remove consecutive...
Forum: Programming 05-16-2011
1,089
Posted By cocostaec
finding and removing block of identical strings
i have a problem in finding block of identical strings...i solved the problem in finding consecutive identical words and now i want to expand the code in order to find and remove consecutive...
1,028
Posted By cocostaec
finding and removing block of identical strings
i have a problem in finding block of identical strings...i solved the problem in finding consecutive identical words and now i want to expand the code in order to find and remove consecutive...
3,833
Posted By cocostaec
it works fine,thanks but there still is a...
it works fine,thanks but there still is a problem...if the text contain 3 identical consecutive words sed only replace the first one ,the last 2 words remaining intacts...have you any ideas?
3,833
Posted By cocostaec
i've tried this code but there is the same...
i've tried this code but there is the same problem...my input text file is::
"ana are are mere
mere
ion are prune prunea."

and the output file is:
"ana are mere

ion are prunea.
"
sed...
3,833
Posted By cocostaec
yes,i know...but sed isn't so efficiently because...
yes,i know...but sed isn't so efficiently because if we have "apple apples" the firs word will be removed even if this 2 words are not equal
3,833
Posted By cocostaec
thanks for those ideas,its works...but the...
thanks for those ideas,its works...but the problem appear when last word from a line is identical with first word from next line...any suggestions?
3,833
Posted By cocostaec
finding and removing 2 identical consecutive words in a text
i want to write a shell script that correct a text file.for example if i have the input file:
"john has has 2 apples
anne has 3 oranges oranges"
i want that the output file be like this:
"john...
Showing results 1 to 11 of 11

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