Search Results

Search: Posts Made By: Misa-Misa
783
Posted By Misa-Misa
date help
hi. how do i get the duration of 1 week then perform a specific action within that week.

20120619 - start
20120626 - 1 week

then perform specific action within that week.
973
Posted By Misa-Misa
sed help
i wanna replace an "X" to column that equals 10. say,

file1.txt

aaa 12
yyy 10
www 12

Output should be:

aaa 12
yyy X
www 12


Thanks in advance.
2,891
Posted By Misa-Misa
hello everyone. in connection with this...
hello everyone.

in connection with this thread. i would like to ask if it is possible that I use sed in replacing a string in an entire column? how do i incorporate a specific column, like $2 to...
2,530
Posted By Misa-Misa
awk '{if (match($1,"uvm") == 0 && match($1,...
awk '{if (match($1,"uvm") == 0 && match($1, "dev") == 0){print $0}}' File
1,024
Posted By Misa-Misa
Thanks for this but I tried it but still it...
Thanks for this but I tried it but still it includes the line even it skips a certain file. That is to say,

File 1 - aaa
File 2 - aaa
File 3 - no "aaa"
File 4 - aaa

The output was:

3 aaa...
1,024
Posted By Misa-Misa
How can I get the 3 consecutive appearances of a line?
File 1

aaa
ccc
fff

File 2

aaa
bbb
ddd

File 3

aaa
bbb
eee

File 4
3,398
Posted By Misa-Misa
sort File* | uniq -c i get it. XD
sort File* | uniq -c

i get it. XD
3,398
Posted By Misa-Misa
How to count the number of occurrence of words from multiple files?
File 1

aaa
bbb
ccc

File 2

aaa
xxx
zzz
bbb

File 3

aaa
bbb
xxx

Output:
Showing results 1 to 8 of 8

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