Search Results

Search: Posts Made By: mac-arrow
2,222
Posted By mac-arrow
Thanks for the explanation
Thanks for the explanation
2,222
Posted By mac-arrow
Hi, what is x27\1\x27 used for? Regards
Hi,
what is x27\1\x27 used for?
Regards
2,222
Posted By mac-arrow
Thanks!! :)
Thanks!! :)
2,222
Posted By mac-arrow
Add double quotes to the words after given pattern
Hi,

I have a text file with different results and I would like to add single quotes to the value after the given pattern '='

This would be the original text file:
user_id=7492 and key=clickid;...
2,433
Posted By mac-arrow
Thank you so much again!!
Thank you so much again!!
2,433
Posted By mac-arrow
Hi @disedorgue Could you explain me those...
Hi @disedorgue

Could you explain me those lines? I'm not sure what the do each of them :) Thank you

awk '/^-- Current Database:/ {A++}{print A" "$0}'
sed 's/ *\([0-9]\+\) [0-9]\+ /\1 /;/--...
2,433
Posted By mac-arrow
Thank you @disedorgue for your help! This...
Thank you @disedorgue for your help! This sentence is kind of mixing up some lines with different databases but don't worry.
I think your first answer will also help me for the task I needed to do...
2,433
Posted By mac-arrow
WOW!! it worked!! Thank you so much! Just...
WOW!! it worked!! Thank you so much!

Just one more thing... How could I do to sort the results from the highest number to the lowest instead of alphabetically?

Like this:
-- Current Database:...
2,433
Posted By mac-arrow
Sort and summarise between patterns
Hi!

I have a text file which I would like to sort, summarise and count between the pattern "--Current Database"

This is my text file:

-- Current Database: `city`
New York
Chicago
Las...
Showing results 1 to 9 of 9

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