Displaying 20 results from an estimated 400 matches similar to: "Difficultes with grep"
2009 Oct 29
4
Invert the sign of a number
Hello,
just a simple question
How can I do to invert the sign of a number? (for example: -4 to 4, 2 to -2
and so on..)
I was looking for a specific function in R but I didn't found it...
thank you
Francesco
--
View this message in context: http://www.nabble.com/Invert-the-sign-of-a-number-tp26110267p26110267.html
Sent from the R help mailing list archive at Nabble.com.
2006 Jun 13
1
VOCAL + Asterisk
I want to start a community based voip network projcet and am thinkimg of
using VOCAL and asterisk gateways..... my question is, has anyone bench
marked asterisk vs VOCAL? is it a wise idea to use VOCAL + Asterisk or
Asterisk all the way.........am expecting 1000 -> 5000 users..
your thoughts would be appreciated.
_________________________________________________________________
Don't
2009 Oct 29
1
operation with if/else on a dataframe
Hi to all,
I have this dataframe (I show the first six rows)
>head(table)
A R Fold.Change P.Value
Count1 Count2
1 ENSRNOE00000000002_at 0 1.13 0.60 1
1
2 ENSRNOE00000000009_at 0 -1.04 0.73 3
3
3 ENSRNOE00000000020_at 0 -1.08
2007 Oct 10
1
question on grep
Is there a command line option on grep that says
count ALL occurances on a line not just the first one???
echo "jerry jerry" | grep -c jerry
only returns 1 and not 2.
Looking at the man page I did not see anything like that.
Thanks,
Jerry
2006 Mar 07
2
grep page source
hi all, any one know how to grep page source by rails?
i.e.
i wanna grep html source from http://www.ruby-forum.com/ by ruby code.
regards
--
Posted via http://www.ruby-forum.com/.
2004 Jan 29
1
Variable substitution in grep pattern
Hi everibody.
I'm working with a dataframe with many character vector in which each
observation is made of one or more unique values.
Example:
> Licenza[56:58]
[1] BSD License, GNU Library or Lesser General Public License (LGPL)
[2] Qt Public License (QPL)
[3] GNU General Public License (GPL)
66 Levels: ... Zope Public License
As you can see, the observation can have one or more Licenses
2008 Aug 06
1
Matching a period in grep...
Hi folks,
Can anyone enlighten me as to why I get the following when I search for
".csv" at the end of a string?
> grep("\.csv$","Blah.csv",value=TRUE)
[1] "Blah.csv"
Warning messages:
1: '\.' is an unrecognized escape in a character string
2: unrecognized escape removed from "[\.]csv$"
R reference for regular expressions says
2005 Mar 16
1
Bug#299810: logcheck: grep errors after latest update
Package: logcheck
Version: 1.2.35
Severity: normal
I'm getting the following on two different Unstable boxen:
------------------------------------------------------------------------------
Subject: Cron <logcheck at bandit-hall> if [ -x /usr/sbin/logcheck ]; then
nice -n10 /usr/sbin/logcheck; fi
2013 Nov 28
1
Create email and grep the recieved emails.
I want to implememt auto mated email generation for every transaction.
And then we will sent any uplods through our own emails. i wnat grep
those email with attachments.
This is very urgent for me. if any one know this please let me know.
Thankyou for advance.
Actually in paperlesspipeline they are did same functionslity. if you
want check this url http://paperlesspipeline.com/
I
2010 Oct 15
1
grep pattern x, but not pattern y on the same line
Hi folks
I have the command "find . | xargs grep 'mailx'", to search all files
with "mailx" in contents. I wish to add a second condition that NOT
contains string sven.aluoor at ubs.com on the same line.
Every file which contains "mailx", but not the string
sven.aluoor at ubs.com in the same line.
cheers Sven
1999 Oct 11
1
if(grep())
Would anyone care to comment if this is the best solution to this problem?
> trygrep <-function(x,y)
+ if(grep(x,y))
+ print("yes") else
+ print("NO")
>
>trygrep("foo","bafoobar")
[1] "yes"
>
> trygrep("foo","bar")
Error in if (grep(x, y)) print("yes") else print("NO") : missing value
2009 Jul 18
0
Rép. : Re: grep: /proc/xen/capabilities: No such file or directory
Je suis actuellement absent. Je prendrai connaissance de votre message à mon retour le 3 août 2009.
Cordialement
T. Capuano
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2012 Dec 12
2
how to grep in r
Hi,
I met this problem.
Trade_Price_Band x
1 0-30 0.6237240
2 101-150 0.6743857
3 151-200 0.6778513
4 201-300 0.6640293
5 301-400 0.6630991
6 31-50 0.6314547
7 401-500 0.6776249
8 500+ 0.6557705
9 51-75 0.6621073
10 76-100 0.6623469
I want to get the following matrix
2006 Dec 30
0
[Bug 527] New: the check make target has a greedy debug grep
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=527
Summary: the check make target has a greedy debug grep
Product: iptables
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: unknown
AssignedTo: laforge@netfilter.org
ReportedBy:
2006 Dec 31
2
[Bug 527] the check make target has a greedy debug grep
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=527
------- Additional Comments From vapier@gentoo.org 2006-12-30 05:34 MET -------
Created an attachment (id=280)
--> (https://bugzilla.netfilter.org/bugzilla/attachment.cgi?id=280&action=view)
iptables-more-exact-check-grep.patch
this tweaks the grep:
egrep -e '(^|[[:space:]])(-g|-pg|-DIPTC_DEBUG)([[:space:]]|$)'
2014 Sep 12
2
grep ip address from KVM DHCP log
>
Hi,
I plan to use KVM internal network 'default' and grep dhcp log to figure
out the IP address that assigned to my VM.
I know I can configure static ip but I like to assign ip dynamically to
avoid mgmt cost.
Does anyone know where the dhcp log is? My KVM host is running Ubuntu
Raring (13.04). It does not have file /var/log/daemon.log as some online
doc mentioned.
Thanks,
2014 Sep 15
0
Re: grep ip address from KVM DHCP log
On 12.09.2014 17:46, Jianfeng Tang wrote:
>>
> Hi,
>
> I plan to use KVM internal network 'default' and grep dhcp log to figure
> out the IP address that assigned to my VM.
>
> I know I can configure static ip but I like to assign ip dynamically to
> avoid mgmt cost.
>
> Does anyone know where the dhcp log is? My KVM host is running Ubuntu
> Raring
2008 Dec 31
2
[LLVMdev] "grep -w" irregularity
* Scott Michel:
> On my _local_ x86_64 Ubuntu 7.10 machine, the shift_ops.ll is an
> unexpected success (i.e., "grep -w shlh %t1.s | count 9" succeeds.)
>
> I get the same unexpected success on my x86_64 Mac 10.4.11.
>
> On the x86_64 buildbot, the same test fails. The culprit is grep,
> evidently. It's just that simple.
There have been issues the GNU libc
2008 Dec 31
0
[LLVMdev] "grep -w" irregularity
On Wed, Dec 31, 2008 at 3:35 AM, Florian Weimer <fw at deneb.enyo.de> wrote:
> * Scott Michel:
>
>> On my _local_ x86_64 Ubuntu 7.10 machine, the shift_ops.ll is an
>> unexpected success (i.e., "grep -w shlh %t1.s | count 9" succeeds.)
>>
>> I get the same unexpected success on my x86_64 Mac 10.4.11.
>>
>> On the x86_64 buildbot, the same
2012 May 24
2
[LLVMdev] make check-lit + grep escape characters
Hi all. I found that if you want to use grep with escape characters in
lit, you should pass it within the double slash (\\). Since the first
one is captured by python scripts and the second one by grep.
E.g. if you want to capture "grep icmp ule" you should pass
"grep icmp\\ ule"
So I'm going to commit the test with strings like this. How stable this
feature in lit?