search for: fgrep

Displaying 20 results from an estimated 325 matches for "fgrep".

Did you mean: grep
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&qu...
1998 Jun 02
0
"fgrep" for help \\ IBM PowerPC AIX
...writes: TL> ...... TL> Currently "%*%" doesn't have any help but help TL> requests get routed to Arith, because "%*%" as a regular expression TL> matches "%%". I will add this to the special cases in help(), but TL> should we use fgrep instead of grep in cmd/help? Yes --- if "fgrep" is available as widely as "grep". [can you check on your machine(s), dear R-develers? any that doesn't have fgrep ?? Test: echo 'abcdef*' | fgrep 'c*d' should NOT return anything] I think it should...
2004 Aug 06
1
capturing pid from command line
hello ; can't recall where i got it from , but this should work ., ps auxw | fgrep icecast | fgrep -v fgrep | awk '{print $2}' a:/, <p>On Mon, 3 Nov 2003, Dave St John wrote: > Anyone know of or how to capture the pid via the command line in bash? > > i.e. i use this to capture shoutcast's process id > #!/bin/bash > SRV=`cat serverlst.txt` &gt...
2006 Oct 03
3
How to get podcasters to adopt Speex?
...nion .txt > rem file, display it while playing the .spx. > > cd c:\...\wbin > rem In this directory you keep, amongst other things, > rem the win32 executables known as Unix utilities. > rem In particular this script depends on curl.exe, > rem speexdec.exe, sed.exe, fgrep.exe, cat.exe, > rem echo.exe, tr.exe and nl.exe. > > rem delete scratch files left over from a previous run:- > del /q spxt* sndt* txtt* > > set url=http://www.coopersmith.demon.co.uk > echo Speex audio files on %url%: > echo ----------------------------- > > r...
2002 Jan 18
5
contrib/solaris/opensshd.in patch
...c_prefix=/usr *** bak/opensshd.in Fri Oct 19 13:36:24 2001 --- opensshd.in Fri Jan 18 11:47:10 2002 *************** *** 8,16 **** KILL=/usr/bin/kill PS=/usr/bin/ps XARGS=/usr/bin/xargs prefix=%%openSSHDir%% --- 8,19 ---- KILL=/usr/bin/kill PS=/usr/bin/ps XARGS=/usr/bin/xargs + FGREP=/usr/bin/fgrep + EGREP=/usr/bin/egrep + ME=`/usr/bin/basename $0` prefix=%%openSSHDir%% *************** *** 22,29 **** killproc() { _procname=$1 ! _signal=$2 ! ${PS} -u root | ${AWK} '/'"$_procname"'$/ {print $1}' | ${XARGS} ${KILL} } --- 25,42...
2020 Jul 23
5
Issue with Keytab memory
...s256-cts-hmac-sha1-96)] [2020/07/23 12:08:06.698028, 1] ../../auth/gensec/spnego.c:1218(gensec_spnego_server_negTokenInit_step) gensec_spnego_server_negTokenInit_step: gse_krb5: parsing NEG_TOKEN_INIT content failed (next[(null)]): NT_STATUS_LOGON_FAILURE ... But when I run net ads keytab list| fgrep 26 | fgrep cifs/lpeda1.muc at EUROPE.BMW.CORP | fgrep aes256-cts-hmac-sha1-96 I get the output 26 aes256-cts-hmac-sha1-96 cifs/lpeda1.muc at EUROPE.BMW.CORP<mailto:cifs/lpeda1.muc at EUROPE.BMW.CORP> So the entry is available in Kerberos keytab, but why does samba fail t...
2012 Mar 30
6
9-STABLE, ZFS, NFS, ggatec - suspected memory leak
Hi all, Setup: I'm running 2 machines (amd64, 16GB) with FreeBSD 9-STABLE (Mar 14 so far) acting as NFS servers. They each serve 3 zpools (holding a single zfs, hourly snapshots). The zpools each are 3-way mirrors of ggate devices, each 2 TB, so 2 TB per zpool. Compression is "on" (to save bandwith to the backend, compressratio around 1.05 to 1.15), atime is off. There is no
2003 Apr 11
2
Ipf headers not installed per default ?
Just rebuilt and installed/world kernel: FreeBSD 4.8-STABLE #0: Fri Apr 11 14:34:37 EDT 2003 Using the latest Makefile for squid25: # fgrep \$FreeBSD /usr/ports/www/squid/Makefile # $FreeBSD: ports/www/squid/Makefile,v 1.100 2003/04/09 08:31:30 adrian Exp $ Modified with: # fgrep CONFIGURE_ARGS Makefile |fgrep -v \# CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \ CONFIGURE_ARGS+= --enable-icmp CONFIGURE_AR...
2004 May 03
4
ctags(1) command execution vulnerability
...ad behavior for any kind of program. Solution: --- usr.bin/ctags/ctags.c.orig Tue May 4 09:23:30 2004 +++ usr.bin/ctags/ctags.c Tue May 4 09:25:48 2004 @@ -166,7 +166,7 @@ if (uflag) { for (step = 0; step < argc; step++) { (void)asprintf(&cmd, - "mv %s OTAGS; fgrep -v '\t%s\t' OTAGS >%s; rm OTAGS", + "mv '%s' OTAGS; fgrep -v '\t%s\t' OTAGS >'%s'; rm OTAGS", outfile, argv[step], outfile); if (cmd == NULL) err(1, "out of space"); @@ -181,7 +181,7 @@ put_entries(hea...
2017 May 19
2
test fails when requesting LC_CTYPE
....Platform$OS.type == "windows") + "English_United States.28605" + else if(grepl("[.]UTF-8$", oloc, ignore.case=TRUE)) # typically nowadays + oloc + else + "C.UTF-8" # or rather "en_US.UTF-8" (? from system("locale -a| fgrep .UTF-8") ) + } > stopifnot(identical(Sys.setlocale("LC_CTYPE", mbyte.lc), mbyte.lc)) Error: identical(Sys.setlocale("LC_CTYPE", mbyte.lc), mbyte.lc) is not TRUE In addition: Warning message: In Sys.setlocale("LC_CTYPE", mbyte.lc) : OS reports request to set l...
2006 Oct 03
2
How to get podcasters to adopt Speex?
...play it while playing the .spx. > > > > cd c:\...\wbin > > rem In this directory you keep, amongst other things, > > rem the win32 executables known as Unix utilities. > > rem In particular this script depends on curl.exe, > > rem speexdec.exe, sed.exe, fgrep.exe, cat.exe, > > rem echo.exe, tr.exe and nl.exe. > > > > rem delete scratch files left over from a previous run:- del /q spxt* > > sndt* txtt* > > > > set url=http://www.coopersmith.demon.co.uk > > echo Speex audio files on %url%: > > echo --...
2008 Jul 23
1
Linux is Not Boot-Up
Dear All, Currently i am using CentOS 4.4 Linux After i am rebooted the PC and I have getting problem like /etc/rc.d/rc.sysinit: line 126: 442 Segmentation fault /bin/dmesg -n $LOGLEVEL Initialization hardware... /etc/rc.d/rc.sysinit: line 167: 450 Segmentation fault LC_ALL=C fgrep -xq "$1" /etc/hotplug/blacklist >/dev/null /etc/rc.d/rc.sysinit: line 167: 455 Segmentation fault LC_ALL=C fgrep -xq "$1" /etc/hotplug/blacklist 2>/dev/null ................. Out of Memory: Killed process 722(sh). Out of Memory: Killed process 1133(sh). Out of Memory:...
2006 Oct 04
0
How to get podcasters to adopt Speex?
...nion .txt > rem file, display it while playing the .spx. > > cd c:\...\wbin > rem In this directory you keep, amongst other things, > rem the win32 executables known as Unix utilities. > rem In particular this script depends on curl.exe, > rem speexdec.exe, sed.exe, fgrep.exe, cat.exe, > rem echo.exe, tr.exe and nl.exe. > > rem delete scratch files left over from a previous run:- del /q spxt* > sndt* txtt* > > set url=http://www.coopersmith.demon.co.uk > echo Speex audio files on %url%: > echo ----------------------------- > > r...
2006 Aug 31
1
serving speex without a server
...nd curl.exe in one's path. Then the command line to play a .spx file is curl URL | speexdec - Entering an entire URL is irksome and my friends can reduce this to double-clicking an icon on the desktop which invokes a .cmd file. The following example requires that you also need h2acons.exe, fgrep.exe, and basename.exe to be in your path. (Some of these are in the well known UnxUtils collection.) For .spx files on my home page the script is:- -------------------------------------------- rem @echo off set url=http://www.coopersmith.demon.co.uk curl -s -o spxs %url% h2acons spxs /SILENT fg...
2003 Aug 22
6
MAC Address of incoming conection
I''m thinking the answer is no but I thought I ask anyway. Is there a way to find out the MAC address of of an incoming connection using the logs generated with shorewall? It would be nice that way if someone''s IP changes you can at least still be blocking the MAC. -- Joe *** I can only please one person a day. Today is not your day and tomorrow doesn''t look good
2017 May 20
1
test fails when requesting LC_CTYPE
...quot;) > + "English_United States.28605" > + else if(grepl("[.]UTF-8$", oloc, ignore.case=TRUE)) # typically nowadays > + oloc > + else > + "C.UTF-8" # or rather "en_US.UTF-8" (? from system("locale -a| fgrep .UTF-8") ) > + } >> stopifnot(identical(Sys.setlocale("LC_CTYPE", mbyte.lc), mbyte.lc)) >> oloc > [1] "en_US.UTF-8" >> mbyte.lc > [1] "en_US.UTF-8" I had been making these changes in R-devel after offline discussions with Li...
2003 Apr 08
2
Transparent squid (ipf)
FreeBSD 4.8-STABLE #1: Sun Apr 6 09:38:34 EDT 2003 # $FreeBSD: ports/www/squid/Makefile,v 1.99 2003/03/09 10:59:07 netchild Exp $ ... checking if IP-Filter header files are installed... no WARNING: Cannot find necessary IP-Filter header files Transparent Proxy support WILL NOT be enabled ... I seem to recall that ipf doesn't install its includes per default any longer ? Perhaps
2020 Jul 23
0
Issue with Keytab memory
...2020/07/23 12:08:06.698028, 1] ../../auth/gensec/spnego.c:1218(gensec_spnego_server_negTokenInit_step) > gensec_spnego_server_negTokenInit_step: gse_krb5: parsing NEG_TOKEN_INIT content failed (next[(null)]): NT_STATUS_LOGON_FAILURE > ... > > But when I run > net ads keytab list| fgrep 26 | fgrep cifs/lpeda1.muc at EUROPE.BMW.CORP | fgrep aes256-cts-hmac-sha1-96 > I get the output > 26 aes256-cts-hmac-sha1-96 cifs/lpeda1.muc at EUROPE.BMW.CORP<mailto:cifs/lpeda1.muc at EUROPE.BMW.CORP> > > So the entry is available in Kerberos keytab, but wh...
2020 Jul 23
0
Issue with Keytab memory
...6.698028, 1] > ../../auth/gensec/spnego.c:1218(gensec_spnego_server_negTokenI > nit_step) > gensec_spnego_server_negTokenInit_step: gse_krb5: parsing > NEG_TOKEN_INIT content failed (next[(null)]): NT_STATUS_LOGON_FAILURE > ... > > But when I run > net ads keytab list| fgrep 26 | fgrep > cifs/lpeda1.muc at EUROPE.BMW.CORP | fgrep aes256-cts-hmac-sha1-96 > I get the output > 26 aes256-cts-hmac-sha1-96 > cifs/lpeda1.muc at EUROPE.BMW.CORP<mailto:cifs/lpeda1.muc at EUROPE. > BMW.CORP> > > So the entry is available in Kerb...
2006 Mar 15
2
swap at beginning of slice - danger?
...ver in production, booting from ad0s1: # BLOCKSIZE=512 swapinfo Device 512-blocks Used Avail Capacity /dev/ad0s1b 2097152 52872 2044280 3% /dev/ad1s1b 2097152 51952 2045200 2% Total 4194304 104824 4089480 2% # bsdlabel ad0s1 | fgrep b: b: 2097152 0 swap Previously, on a 4.11 system, swapinfo said that swap size was less than size of b: partition on a slice - it was ok, as boot sectors are located at beginning of slice. But now, sizes match exactly. What changed and is it dangerous nowadays to have swap partiti...