Search Results

Search: Posts Made By: tinku981
1,972
Posted By tinku981
Remove duplicate
Hi,

How can I replace || with space and then remove duplicate from following text?

T111||T222||T444||T222||T555

Thanks in advance
3,293
Posted By tinku981
Any idea how to we do same job by using GREP? ...
Any idea how to we do same job by using GREP?
Reason for request: Just wana check how grep behave?

Thanks in advance,
3,293
Posted By tinku981
Dear Bipinajith, I think -type f may not be...
Dear Bipinajith,

I think -type f may not be required as following is also working

find ./* -prune -name "*.c"./file1.c
./file2.c
./file3.c
./file4.c

Kindly correct if I am wrong.
3,293
Posted By tinku981
Using find and regular expressions
Hi

Could you please advise how can one extract from the output of
find . -name "*.c" -print
only filenames in the current direcotry and not in its subdirectories?

I tried using (on Linux...
4,688
Posted By tinku981
Yes, I am clear. Thanks for you help and...
Yes, I am clear.

Thanks for you help and time :)
4,688
Posted By tinku981
Also used egrep for other pattern: $ grep -E...
Also used egrep for other pattern:

$ grep -E 'SIG(STOP|TSIP)' reg_exp
SIGSTOP
SIGTSIP
4,688
Posted By tinku981
Could you please advise why you have used \ in...
Could you please advise why you have used \ in following?
grep "^SIG\(STOP\|TSIP\)" reg_expThanks in advance,

---------- Post updated at 11:30 AM ---------- Previous update was at 11:24 AM...
4,688
Posted By tinku981
Egrep help needed?
Can anyone advise how to use grep to locate lines containing these patterns?
i) SIGSTOP or SIGTSIP
ii) SIGTTIN or SIGTTOU
iii) harris or harrison

Say the file contents are
$ cat...
Showing results 1 to 8 of 8

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