Hi,
I have a file containing 100,000 rows-by-120 columns and I need to compute for the standard deviation for each row. Any idea on how to calculate row-wise standard deviation using awk?
Hi All,
Can anyone please explain me how to read data from config file in Perl.
Suppose i have a config file named cfile.
Hi All,
I have a file with the below data as shown.
A|2|20120430
B|EMP|NAME|DEPT
C|12|SARC|01
C|23||ASDD|02
D|END OF FILE
I want to fetch only the records that contains C|, what is unix command to fetch this data.
Thanks
I'm trying to convert a xml file to a csv file.
When trying to add a bit more detail to a related question, I realized I don't know how to specify which one of the available Bash word types to execute.
Hi
we have one function which is used to append data the file in exclusive lock mode in aperl script.
This script is executed by multiple threads at the same time.
accessing the same file.this script runs throught the day.
sometimes the file2.txt size is getting reduced.
for eg from 10 M to 2 M.
Code:
fi(file1.txt);
f2(file2.txt);
sub f1
{
my ($file) = @_;
my $data="haitetsi
I don't even know how to explain this directly, but I'll try.
Intro
I'm building a Phonegap App with angularjs, and I'm trying to stitch up WebSocket messages to update my UI. I used to have services that communicate with the server periodically and change their data accordingly and it was working pretty well.
I am new to Apache. I have almost no knowledge of apache. I am using apache 2.2.11.
I have one css file and multiple .js files which i am uploading to a remote storage with a php page(PHP - 5.2.8). When i am using function mime_content_type to get the mime type of css.css file, i am getting text/plain. Same issue with .js files.
wget -d --header="Content-Type:application/xml" --post-data="$(cat <your xml file>)" http://sample.sample.com/api
How do i use this function in php?
I want also to get the response from this function.
i have a variable in php the viable is like this
$xml = '<sample>
<Request target="test">
</Request>
</sample>'
This is the xml that i want to post.
I trie