similar to: Running source from Unix line

Displaying 20 results from an estimated 1000 matches similar to: "Running source from Unix line"

2007 May 09
3
Scripting question
I'm writing a script that has logging via a simple routine: LogIt() { Msg="$1" echo "$THISSCRIPT: $Msg" echo "$Msg" >>$LogFile } #A portion of this script sends a file via ftp: # ftp -vn >$tempfile <<$$EOD : : $$EOD #Then reads the temporary file to log while read line do LogIt $line Done <$tempfile rm -f $tempfile
2012 Aug 17
4
Appending many different and separate Excel files using R
Dear all, Good day! I have a problem in reading Excel files in R and appending them to each other. Suppose we have several Excel files in a directory with headers and want to use R to append them in a single file with an additional variable in the final file indicating from which files the data come from. As I have many Excel files and their sizes are very big I should write a loop in R to do
2010 Jun 02
3
writing a matrix in a file
Hi, I want to write a matrix (n*m) in a file (Text file) such that the file will be as Result file (below). I use the below command but it write all numbers in one column, > write(paste(matrixname),file="test.txt",append=TRUE) how can I do this? Result file: 5 5 -1 -1 -1 -1 8 8 2 7 6 5 6 6 8 2 7 5 Matrix: [,1] [,2] [,3] [,4] [,5]
2014 Oct 21
2
[LLVMdev] Fetching the functions in C files
Thanks for the answer John. I checked the llvm-extract and it works, but my concern is if the output of the extract could be saved as .ll instead of .bc. Sort of human-readable format so that I can parse it. Otherwise, it is better to parse the foo.ll file right away instead of using the extract tool. Please correct me if I am wrong. Thanks, -Amir On Tue, Oct 21, 2014 at 7:02 PM, John
2014 Oct 22
2
[LLVMdev] Fetching the functions in C files
Thanks Markus. Having llvm-as to turn the extracted function.bc file to .ll caused an error saying: *llvm-as-3.4: function_bc:1:1: error: expected top-level entity* *BC! #AI29bEBB2I (some more binary)* This error is just the same error that I received while using llvm-extract on a .c file (not .bc or .ll). Do I have to include other things in the command ? I mean generating a function.ll
2006 Feb 28
4
multiple keys table
probablly a newbie question: Rails does not support a table with multiple keys ??? it seems that the ActiveRecord set_primary_key method can only set the column name... (hope i''m wrong there) example: table A - P.K id, string name table B - P.K id, string name table C - P.K a_id and b_id, both are also foreign keys. Thanks, Amir. -- Posted via http://www.ruby-forum.com/.
2012 Dec 08
2
[LLVMdev] Compile code for arm
Thanks for your help. But I got this warning which it seems it doesn't use -triple "clang: warning: argument unused during compilation: '-triple arm-none-eabi' " Best Regards, A. Yazdanbakhsh >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PhD. Student School of
2006 Jan 08
2
Filters in waveslim
Dear R Users, For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is "la8" and other possibility is "haar". In related documents, another possibilities like as symlet and coiflet ... are not cited. Besides "la8" and "haar", which wavelet filters can be used? Thank
2012 Dec 08
2
[LLVMdev] Compile code for arm
OK. Thanks for your help. My problem is I am playing with the size of registerfile in ARM. I thought I can do it with only modifying the Target in the LLVM directory. But if it is going to use gcc-toolchain, then I need to modify them as well which is a huge work! Best Regards, A. Yazdanbakhsh
2006 Nov 20
3
Creating a new vector ( another problem)
Dear R Users, Suppose we are interested for generating a new vector ( x ) from a current vector (y) of length 1000 so that x includes the sum of every 5 values in y respectively from the first to the end of length y. The same length of y for x is desired, so that other 4 positions (indices) in x are filled out with NA. For generating such a new vector, I have no idea. I tried in some
2012 Dec 08
1
[LLVMdev] Compile code for arm
Thanks Tim. I just need the assembly file. Anyway, I still have problem with generating assembly for the ARM without having any thumb and other fancy instructions. Best Regards, A. Yazdanbakhsh >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PhD. Student School of Electrical and Computer
2012 Dec 08
4
[LLVMdev] Compile code for arm
Hi, I've installed clang version 3.3 on ubuntu. I want to cross-compile a C code into ARM (preferably) ARMv7. I want to get both assembly code and binary. Can anyone help me what are the steps which should I take? Second question, Is there anyway to tell compiler not to use any Thumb/NEON/VFP instructions? Thanks Best Regards, A. Yazdanbakhsh
2014 Oct 21
2
[LLVMdev] Fetching the functions in C files
Hello Everyone, Just subscribed to the mailing list. I was wondering how I am going to fetch each functions of a specific source code file (c/c++) using the LLVM framework. For instance, I would like to apply certain passes using llvm-opt on certain functions not the whole file. I would appreciate any hints or idea leading me about the starting point. Regards, -Amir -------------- next part
2006 Nov 20
3
Creating a new vector
Dear R Users, Suppose we want to creat a new vector ( x ) from a current vector (y) of length 1000. The current vector y includes negative, zero and positive values. We want our new vector x includes the negative values in y, otherwise NA with the same length as y. For this, we have x=y[y<0] . Now x includes a subset of y with shorter length than y. With x=match(y,x) we would
2019 Jul 25
3
Autoexpunge not working for Junk?
Hi all, I set up dovecot a couple of months ago and am having trouble getting autoexpunge=30d to work on my Trash and Junk mailboxes. Not sure why not because I'm not getting error messages in my log. Running "doveadm search -u <user> mailbox Junk savedbefore 30d" shows me many messages (I've got messages back to mid-May, and a couple of other users have them back to
2006 Feb 11
6
Shorewall problems simple one i think!!
Hi all well im using two interfaces.. e.g: eth0:202.188.9.2 is WAN and eth1;192.168.1.1 is LAN.. when im in LAN let say from 192.168.1.9 i cant open WAN IP address e.g: 202.188.9.2 .. why? how to set this?... i only can open 192.168.1.1 .. if possible i want to have both accessable.. thanks rgds amir
2006 Nov 13
1
Line Breaks in Logon Banner Text
Using poledit and NTCONFIG.POL with Samba3 and XP workstations I was wondering if somebody could tell me how I can get line breaks to appear in the Logon Banner Text. I have tried /n and ~ so far but no luck Thanks, Amir
2006 Mar 10
2
creating new vector
Hi R Users, I don't know how much is difficult my problem and even it is possible to solve in R or not. Given a vector with 2000 observations. I want to creat a new vector from that vector so that new vector be the sum of every 5 observations sequently. That is , each new observation is sum of every 5 sequent observations, from the first observation of previous vector to the end. So
2006 Feb 07
2
Prediction method for lowess,loess,lokerns,lpepa,ksmooth
Hi Every Body, I don't know why some regression functions have no related prediction function. For example lowess, loess, lokerns, lpridge, lpepa, and ksmooth. What could help? Is there any global or wrapper function so that can help? Regards, Amir Safari --------------------------------- [[alternative HTML version deleted]]
2012 Apr 25
8
showing error (gsub) when switching from session to cookies
I am newbie to rail. Trying to develop social networking site so working with railspace application. Everything is working fine but I stuck in the problem when i am giving the authorization tocken to the user to remember him/her. My Error and controller code is below Error:- private method `gsub'' called for 4:Fixnum C:/Users/Amir/Downloads/IR/ruby/lib/ruby/1.8/cgi.rb:342:in