search for: searchpattern

Displaying 5 results from an estimated 5 matches for "searchpattern".

Did you mean: mysearchpattern
2011 Oct 05
1
fgrep with caret (^) meta-character in system() call
Hi there, I would like to use my linux system's fgrep to search for a text pattern in a file. Calling system with system("fgrep \"SearchPattern\" /path/to/the/textFile.txt") works in general, but I need to search for the search pattern at the beginning of the line. The corresponding shell command fgrep "^SearchPattern" /path/to/the/textFile.txt | |___ here's my problem does exactly...
2007 Apr 04
2
pattern search
...easy possibility for pattern search. I have got a string and a special pattern. I would like to know if the pattern appears in the string, if yes where does it appear (position) and the number of appearance. Example: Text = c("If the sun shines, no clouds should be seen in the sky!") SearchPattern = c("the") NumberOfAppearance = 0 NumberOfLetters = 0 --> NumberOfAppearance should be 2 in the end How can I get the string length (=number of letters stored in Text)? Has anyone a good idea? Thanks, Corinna
2015 Jul 16
4
doveadm import - strange warning
I'm using the doveadm import command to extract mails from my backup: % doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \ mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid This works like a charm, I'm getting all the mails, and I can access the newly generated mailbox. But when executing the command I'm getting an annoying warning: doveadm(restore at backup.invalid): Error: chdir(/root/) failed: Permission denied (euid=1001(copymail) egid...
2015 Jul 27
0
doveadm import - strange warning
...e? Seems easy to reproduce... * Ralf Hildebrandt <r at sys4.de>: > I'm using the doveadm import command to extract mails from my backup: > > % doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \ > mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid > > This works like a charm, I'm getting all the mails, and I can access > the newly generated mailbox. > > But when executing the command I'm getting an annoying warning: > > doveadm(restore at backup.invalid): Error: chdir(/root/) failed: Permissi...
2015 Jul 27
2
doveadm import - strange warning
...e... > > * Ralf Hildebrandt <r at sys4.de>: >> I'm using the doveadm import command to extract mails from my backup: >> >> % doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \ >> mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid >> >> This works like a charm, I'm getting all the mails, and I can access >> the newly generated mailbox. >> >> But when executing the command I'm getting an annoying warning: >> >> doveadm(restore at backup.invalid): Error: chdir...