Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Normal format and scientific combined data Post 302537609 by Corona688 on Friday 8th of July 2011 04:31:02 PM
Old 07-08-2011
What would the output look like for this input?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to Convert scientific notation to normal ?

Hell friends, I wrote a script gets the summation of particular column using awk. The awk output is given in scientific notation. How do I convert the scientific notation to normal. My awk syntax : awk '{sum += $2} END { printf sum }' temprep.txt Out put is like 1.5365e+07 I want it as... (2 Replies)
Discussion started by: maheshsri
2 Replies

2. Shell Programming and Scripting

Exracting data from DB using normal login

Hi All, I ve a to extract data from oracle database . I already wrote code for the same ---------------------------------------------------------------------------------------- /u01/oracle/10.2/db_tst/bin/sqlplus -s $LOGIN/$PASS@$DBCONN <<-END > ${DSTDIR}/${FLNAME} set serveroutput on;... (7 Replies)
Discussion started by: malle
7 Replies

3. Shell Programming and Scripting

Convert Epoch time format to normal date time format in the same file

I have a file named "suspected" with series of line like these : {'protocol': 17, 'service': 'BitTorrent KRPC', 'server': '219.78.120.166', 'client_port': 52044, 'client': '10.64.68.44', 'server_port': 8291, 'time': 1226506312L, 'serverhostname': ''} {'protocol': 17, 'service': 'BitTorrent... (3 Replies)
Discussion started by: rk4k
3 Replies

4. Shell Programming and Scripting

mailx requirement - email body header in bold and data content in normal text

Dear all- I have a requirement to send an email via email with body content which looks something below- Email body contents -------------------- RequestType: Update DateAcctOpened: 1/5/2010 Note that header information and data content should be normal text.. Please advice on... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

5. UNIX for Dummies Questions & Answers

awk for scientific notion and decimal combined data

Dea all, I have a question. I have a column of numbers with scientific notion and decimal combined data. I want to print it only if the number <0.05 using awk. however the very small numbers with scientific notion is not selected. Do any one know how to solve it? Thanks! example as below: ... (4 Replies)
Discussion started by: forevertl
4 Replies

6. Shell Programming and Scripting

IF statement on floating point variable in scientific format

Hi all, I'm struggling :wall: to make a an if statement on two variables in scientific format. e.g. a=1.23e+01 b=3.21e+02 I know that it can be done with bc if the variable are not in scientific format. But what to do in this case??? Thank you, (3 Replies)
Discussion started by: f_o_555
3 Replies

7. Shell Programming and Scripting

EBCDIC Format to Normal String

Hi, I have EBCDIC format file and i wold like to convert normal string(user readable) in unix . The source having the binary IBM file format Sample Source Format: ... (3 Replies)
Discussion started by: koti_rama
3 Replies

8. Shell Programming and Scripting

Normal text to table format

Hi, I am trying to show my list, from a simple list format to a table (row and column formatted table) Currently i have this format in my output (the formart it will always be like this ) >> first 3 lines must be on the same line aligned, and the next 3 shud be on 2nd line....: INT1:... (10 Replies)
Discussion started by: eboye
10 Replies

9. Shell Programming and Scripting

Converting from scientific notation to normal

Hi everyone, I need to convert some numbers that are written in scientific notation to normal notation. Here is a sample line from my data file; "1",1,-1,0,0,502,0,0.00000000000E+00,0.00000000000E+00,0.35591163544E+03,0.35591163548E+03,0.50400001928E-02,0.,-1. first of all, my data file... (4 Replies)
Discussion started by: hayreter
4 Replies

10. UNIX for Dummies Questions & Answers

How to control the decimal points for p-values in scientific format?

Dear all, I have a txt file with only one column which contains p values. My data looks like this: 5.04726976606584e-190 2.94065711152402e-189 2.94065711152402e-189 9.19932135717279e-176 1.09472516659859e-170 1.24974648916809e-170 0.1223974648916 0.9874974648916 ... what I want... (2 Replies)
Discussion started by: forevertl
2 Replies
ctod(1) 						      General Commands Manual							   ctod(1)

Name
       ctod - combine DDIS objects into DOTS format

Syntax
       ctod [ -x ] object.ddis

Description
       The  command  combines  a  DDIS encoded object into a Data Object Transport Syntax (DOTS) format, which is written to standard output.  The
       object may contain references to other DDIS files.  The purpose of is to create a single file from multiple references to other	files,	in
       order to transfer or move DDIS objects from one location to another.

       object.ddis  is a file name, or a minus sign (-) for standard input.  If a minus sign is specified, or if no file name is present, standard
       input is read.  The named object and its external references, if any, are combined into a DOTS data stream which  is  written  to  standard
       output.

       Because a DOTS stream contains binary data, output should be redirected to a file or a pipe.

Options
       -x   Specifies that is to DOTS encode the input file without resolving any external references present in the file.  This option is for use
	    only with files containing no external references.

Restrictions
       The only DDIS object types supported in this release are DDIF and DTIF.

Diagnostics
       The exit status is 0 if all files were combined successfully and 1 if any of the files could not be combined.  Consult `standard error'	to
       see what files failed, and why.

       If  the	-x  option  is	used  and contains any external references, returns an error status of 1, and writes an error message to `standard
       error'.

See Also
       dtoc(1), DDIS(5), DDIF(5), DTIF(5), DOTS(5)

																	   ctod(1)
All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy