Search Results

Search: Posts Made By: forroughuse
5,071
Posted By CarloM
1~2s for line 1 and every 2nd line after that,...
1~2s for line 1 and every 2nd line after that, substitute
/.* any number of any characters, followed by a space and
\([^ ]* [^ ]* [^ ]* [^ ]*\)(stored sub-pattern) any number of non-space...
1,525
Posted By Franklin52
awk '{n+=gsub("friend",x)}END{print n}' test1.txt...
awk '{n+=gsub("friend",x)}END{print n}' test1.txt test.txt
1,456
Posted By Klashxx
You're telling sed ( with the first s ) to...
You're telling sed ( with the first s ) to substitute all strings that matches the first pattern (things at left of the second slash) whith nothing (right of the second slash).

So if you want to...
Showing results 1 to 3 of 3

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