Sponsored Content
Full Discussion: Standardization
Top Forums Shell Programming and Scripting Standardization Post 302763855 by Diya123 on Wednesday 30th of January 2013 02:37:14 PM
Old 01-30-2013
Hi mstafreshi,

Thank you so much.. I tried using your code on the example data I provided, but in the output it prints only the first row..

Here is the output
Code:
[dvaka@cabiopeds new]$ vi test_file
[diya@cab new]$ vi diya123
[diya@cab new]$ chmod 755 diya123
[diya@cab new]$ ./diya123 test_file
mean    6.880228        7.027196        7.048017        6.884512        7.0273746.883714        6.981921        7.010175
stddev  2.066795        2.005844        2.108336        1.966369        2.1192771.922232        2.183782        2.202813
sub     1.649817        1.515693        1.623571        1.610022        1.4895161.501635        1.796681        1.698258
[diya@cab new]$

How can I get the result for all 10,000 rows.

Thanks,
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Standardization of input source data files using shell script

Hi there, I'm a newbie in unix and am fishing for options related to how raw input data files are handled. The scenario, as I'm sure y'all must be very familiar with, is this : we receive upwards of 50 data files in ASCII format from various source systems - now each file has its own structure... (3 Replies)
Discussion started by: Prat Khos
3 Replies
Ns_Mime(3aolserver)					   AOLserver Library Procedures 				       Ns_Mime(3aolserver)

__________________________________________________________________________________________________________________________________________________

NAME
Ns_GetMimeType - Return the MIME type of a file SYNOPSIS
#include "ns.h" char * Ns_GetMimeType(char *file) _________________________________________________________________ DESCRIPTION
Ns_GetMimeType(file) The Ns_GetMimeType function uses the extension of file and looks up the associated MIME type stored internally in the server. Case is ignored. The return value is of the form "text/html". AOLserver has a set of predefined file extension to MIME type associations. You can add to these associations by defining file extension to MIME type associations in the server configuration file in the ns/mimetypes section. If you define a file extension that already exists in the server, that file extension and MIME type association will be replaced with yours. If no MIME type association exists for a particular file extension, or there is no file extension, the default and noextension MIME types are returned, respectively. These default to "*/*" but can be set in the server configuration file. Here is an example ns/mimetypes section from the server configuration file: ns_section "ns/mimetypes" ns_param ".doc" "application/msword" ns_param ".ppt" "application/vnd.ms-powerpoint" ns_param ".xls" "application/vnd.ms-excel" ns_param ".cab" "application/mscabinet" ns_param ".frl" "application/x-perfpro" ns_param ".max" "application/vviewer" ns_param ".mif" "application/x-mif" ns_param ".frz" "application/x-dffill" ns_param ".asvg" "image/svg-xml" ns_param ".asvgz" "image/svg-xml" ns_param ".svg" "image/svg-xml" ns_param ".svgz" "image/svg-xml" ns_param default "*/*" ns_param noextension "*/*" SEE ALSO
nsd(1), info(n) KEYWORDS
AOLserver 4.0 Ns_Mime(3aolserver)
All times are GMT -4. The time now is 12:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy