![]() |
2010-06-28
, 09:10
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#2
|
![]() |
2010-06-28
, 09:23
|
Posts: 75 |
Thanked: 35 times |
Joined on Jun 2010
@ United States
|
#3
|
![]() |
2010-06-28
, 11:20
|
|
Administrator |
Posts: 1,036 |
Thanked: 2,019 times |
Joined on Sep 2009
@ Germany
|
#4
|
grep -r $part_of_number $path_to_backup
$path_to_backup/$contact's_name.vcf :TEL:TYPE=$type : $full_number
grep -r -B6 $part_of_number ~/.osso-abook/db/
#!/bin/sh grep -C10 $1 ~/.osso-abook/db/addressbook.db | grep -e N: -e TEL|grep -v VERSION
./search_num 135314
The Following User Says Thank You to chemist For This Useful Post: | ||
![]() |
2010-06-28
, 11:53
|
Posts: 23 |
Thanked: 15 times |
Joined on Mar 2010
@ Moscow
|
#5
|
![]() |
2010-06-28
, 13:55
|
|
Administrator |
Posts: 1,036 |
Thanked: 2,019 times |
Joined on Sep 2009
@ Germany
|
#6
|
awk 'BEGIN{FS=":"} /^TEL/{print $2} /^FN/{print $2} /END:/{print "\n"}' /home/user/.osso-abook/db/addressbook.db|awk 'BEGIN { RS="\n\n"; FS="\n"; PATTERN="pattern" } { if ( $0 ~ PATTERN ) print $0; }' $0; }'
![]() |
2010-06-28
, 17:30
|
Posts: 440 |
Thanked: 203 times |
Joined on May 2010
|
#7
|
Last edited by praveenchand; 2010-06-27 at 18:34.