search for: findstr

Displaying 20 results from an estimated 48 matches for "findstr".

2009 May 01
1
locating rcmd.exe through a batch script
Dear R-sians! The following command works fine on Dos Prompt, but not in a windows batch script... dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1" how do I implement the above in a windows batch script? I tried to use: for /F "usebackq tokens=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1"`) do @echo %%i and it does not see...
2011 May 24
2
escape characters in shell commands
On a Windows platform I am trying to count the number of lines in a file. In a DOS window, the following works: C:\Users\jar>findstr /R /N "^" D:\my_dir\my_file | find /C ":" 5317 (it works with double \\ also) But in R, I need to make this string up with the file name I get from file.choose(): filename = file.choose() #get the number of lines in the file # first make a command string with the filename in it...
2007 Nov 20
1
[asterisk-dev] trunk working under windows!
...ew=diff&rev=89454&r1=89453&r2=89454 >> ============================================================================== >> --- trunk/Makefile.moddir_rules (original) >> +++ trunk/Makefile.moddir_rules Tue Nov 20 10:12:10 2007 >> @@ -66,9 +66,8 @@ >> ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) >> # linker options and extra libraries for cygwin >> SOLINK=-Wl,--out-implib=lib$@.a -shared >> - LIBS+=-L../main -lasterisk -L../res >> + LIBS+=-L../main -lasterisk -L../res $($@_LIBS) >> # additional libraries in res/ >...
2014 Mar 03
3
gsm codec compile
...iated. make[2]: Entering directory `/usr/src/asterisk/codecs/gsm' ?? [AS] src/k6opt.s -> src/k6opt.o Assembler messages: Error: unknown architecture `armv6l' Error: unrecognized option -march=armv6l make[2]: *** [src/k6opt.o] Error 1 ? Here are the lines in the Makefile - ifeq (, $(findstring $(OSARCH) , Darwin SunOS )) ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel mips)) ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b armv5b armv61 armv7l s390 )) OPTIMIZE+=-march=$(PROC) end...
2008 Mar 19
3
[LLVMdev] Merge Patch File
...APPLE_LOCAL='APPLE LOCAL libcc_kext' \ MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` static;@static at fno-pic kext;@Dmal loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno- exceptions at fno-non-ca ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$ (target)),kext64;@mkernel at m64@Dma lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ (KEXT_EXTRA_FLAGS))" \ EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ in gcc/Makefile.in. I'd recommend something like: # APPLE LOCAL begin libcc_kext ifeq ($tar...
2014 Jan 31
1
Trouble configuring with macvtap passthrough on Debian Wheezy / Jessie
...do apt-get build-dep libvirt > $ debuild -i -us -uc -b > > So... yes, it works and builds without any errors. > > Next step now is applying the changes mentioned. > But I'm confused because /apparently/ debian/rules is already the way > it should be. > > ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux)) > WITH_STORAGE_LVM = --with-storage-lvm > WITH_STORAGE_ISCSI = --with-storage-iscsi > WITH_STORAGE_DISK = --with-storage-disk > WITH_UDEV = --with-udev --without-hal > WITH_CAPNG = --with-capng > WITH_POLKIT...
2007 Mar 09
0
spandsp, app_rxfax: apps_Makefile.patch v1.2 > v1.4 = No Workie!
...the GNU General Public License # -include ../menuselect.makeopts ../menuselect.makedeps C_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c))) CC_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.cc,%,$(wildcard app_*.cc))) LOADABLE_MODS:=$(C_MODS) $(CC_MODS) ifneq ($(findstring apps,$(MENUSELECT_EMBED)),) EMBEDDED_MODS:=$(LOADABLE_MODS) LOADABLE_MODS:= endif ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),) MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE) endif ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemai...
2006 May 30
1
executable file with R
Hi, I made an R function, and I want make an executable applet with it. Do you know how it is possible? Thank for your help. Romain -- Lorrilli?re Romain UMR 8079 Laboratoire Ecologie, Syst?matique et Evolution B?t. 362 Universit? Paris-Sud 91405 Orsay cedex France tel : 01 69 15 56 85 fax : 01 69 15 56 96 mobile : 06 81 70 90 70 email : romain.lorrilliere at
2011 Nov 19
2
Facter Windows: domain is "none"
I could swear this worked fine earlier.. Now facter, and hence puppet, do not see the domain name anymore: What could cause this? C:\Temp>facter --version 1.6.2 C:\Temp>facter | findstr kernel kernel => windows kernelmajversion => 6.1 kernelrelease => 6.1.7601 kernelversion => 6.1.7601 C:\Temp>facter fqdn NCS-VDI-05.none C:\Temp>facter hostname NCS-VDI-05 C:\Temp>facter domain none C:\Temp> Thanks a lot, Mohamed. -- You received this message because...
2006 Jul 25
2
pari/gp interface
Hi I'm developing an R package that needs to execute some code written in pari/gp. I've used this before from an R package (elliptic) but the interface is very basic: the R function creates a string such as the following: string <- echo ' ellwp ([ 2+0*I , 0+2*I ], 1+0*I )' | gp -q And then system(string) returns the output from gp which then needs to be text processed
2006 Jan 01
2
Wish list
...p://www.equi4.com/starkit.html or Python py2exe http://starship.python.net/crew/theller/py2exe is what I am thinking of. Its ok if they are interpreted as long as its all transparent. 2. R as a Filter Support using R as a filter analogously to awk/gawk. e.g. echo a x 3 | R -f myprog.R | findstr /i answer echo a x 3 | R -e "chartr('x', 'X', readLines(STDIN()))" | findstr /i X This would allow replacement of certain awk/gawk filters with R. In the above STDIN or some would refer to the echo output, not to further input from the script. I think /dev/stdin can...
2017 Jul 10
2
Shipping LLVM.dll for the C API with the Windows installer.
Thanks for starting! Btw here is my CMD version: cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F "tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do (set symbolname=%e & echo !symbolname:~1!))" You run it in the directory with all the llvm*.lib (yes the ThinLTO is excluded in this example but can be added easily i think) 2017-07-06 20:16 GMT+02:00 Jakob Bornecrantz <wallbraker at gmail.com>: > Mad...
2008 Mar 19
0
[LLVMdev] Merge Patch File
...LE LOCAL libcc_kext' \ > MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib` > static;@static at fno-pic kext;@Dmal > loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno- > exceptions at fno-non-ca > ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$ > (target)),kext64;@mkernel at m64@Dma > lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$ > (KEXT_EXTRA_FLAGS))" \ > EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \ > > in gcc/Makefile.in. I'd recommend something like: > >...
2008 Mar 19
0
[LLVMdev] Merge Patch File
Bill Wendling wrote: > On Wed, Mar 19, 2008 at 12:11 PM, Duncan Sands <baldrick at free.fr> wrote: > >> Hi Bill, thanks for fixing it. >> >> > No prob! :-) I can't build llvm-gcc4.2 on x86-32 Linux. What is kext64, and how do I disable it? (I suppose I don't need it on a 32-bit platform?) ..... ranlib kext/libgcc_eh.a
2005 Jul 02
1
limiting netlogon scripts to a subnet?-will this work?
...for us, as users tend to use the same computers). I want only users with IP from 192.168.1.x to load the databases. The loaddatabases.cmd file in question would contain rem Grab IP address and dump to a file ipconfig >"%userprofile%\ipconfig.txt" echo Checking for your location findstr "192.168.1" "%userprofile%\ipconfig.txt" if errorlevel 1 goto notLoading echo Loading Databases .... rd /S /Q C:\Access\Databases xcopy /C /Y /K /F /Z /Q /E /H Q:\Access\FrontEnds C:\Access\Databases\ goto end :notLoading echo Not loading Databases goto :end :end ____________...
2017 Jul 10
0
Shipping LLVM.dll for the C API with the Windows installer.
...0 GMT+02:00 Alexander Benikowski <sebal007 at googlemail.com>: > Thanks for starting! > Btw here is my CMD version: > > cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F > "tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do (set > symbolname=%e & echo !symbolname:~1!))" > > You run it in the directory with all the llvm*.lib (yes the ThinLTO is > excluded in this example but can be added easily i think) > > 2017-07-06 20:16 GMT+02:00 Jakob Bornecrantz <wallbraker...
2008 Mar 19
2
[LLVMdev] Merge Patch File
On Wed, Mar 19, 2008 at 12:11 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi Bill, thanks for fixing it. > No prob! :-) > > > > ../../gcc-4.2.llvm.master/gcc/config/i386/i386.c: In function 'ix86_expand_convert_uns_DI2DF_sse': > > > ../../gcc-4.2.llvm.master/gcc/config/i386/i386.c:10270: warning: large integer implicitly truncated to unsigned type
2017 Jul 06
0
Shipping LLVM.dll for the C API with the Windows installer.
...;ll post this one and look for the recent one at >> home(if that didn't go down with my recent hdd crash): >> >> cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F >> "tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do (set >> symbolname=%e & echo !symbolname:~1!))" >> >> What it does: >> >> For all *.lib files ina specific dir starting with LLVM call dumpbin.exe >> (tool from Visualstudio) and write all symbols with LLVM_ into a specific &gt...
2017 Apr 06
2
Shipping LLVM.dll for the C API with the Windows installer.
...make noob) So for reference, i'll post this one and look for the recent one at home(if that didn't go down with my recent hdd crash): cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F "tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do (set symbolname=%e & echo !symbolname:~1!))" What it does: For all *.lib files ina specific dir starting with LLVM call dumpbin.exe (tool from Visualstudio) and write all symbols with LLVM_ into a specific file 2017-04-05 20:40 GMT+02:00 Jakob Bornecrantz via...
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...erpc, etc. -PROC := $(shell uname -p) # returns Linux, Darwin, FreeBSD, etc. -OS := $(shell uname -s) +ifdef OS_OVERRIDE + OS := $(OS_OVERRIDE) +else + OS := $(shell uname -s) +endif +# returns i386, x86_64, powerpc, etc. +ifdef PROC_OVERRIDE + PROC := $(PROC_OVERRIDE) +else + ifeq ($(findstring MINGW,$(OS)),MINGW) + PROC := i386 # failsafe + # ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline): mingw32 + ifeq ($(findstring i686,$(shell gcc -dumpmachine)),i686) # MinGW-w64: i686-w64-mingw32 + USE_ICONV := 0 + else ifeq ($(findstring x86_...