I am trying to split input that looks like
,2005-09-12 01:45:00.000000,2005-09-12 01:48:18.000000,
I want to split on the dot .
What I am using is ($ev_time,$rol)=split(/\./),$inputfile;
This does not recognize the dot as what I want to split on. (2 Replies)
Hi,
I have a file with below values.
/uvxapps/etl/Ascential/DataStage/DSEngine/dsenv.orig
/uvxapps/etl/Ascential/DataStage/DSEngine/dsenv
/uvxapps/etl/Ascential/DataStage/DSEngine/sample/.cshrc
/uvxapps/etl/Ascential/DataStage/DSEngine/sample/.login... (3 Replies)
Hi all,
Been trying to find a solution to this, I'm sure its a sed 1 liner, but I don't know sed well enough to work it out...
I have a text file in the following format:
431 666 1332 2665 0.24395
432 670 ... (3 Replies)
I have a file that is formatted in this way.
a1;b2;c33;d4;e5;e;f;f;f;s
d;ds;d;a;v;b;g;gr;r;rt;fdf
s1;s2;s2;s3;s4;
b1;f2;g3;h4;a3c4e;xcsd;fds;
sd2;fs4;fs2;sdf3;
I want to replace the value just before the 4th semicolon to empty string, regardless the value, such that it looks... (3 Replies)
Hi ,
I have below input file
1.order number is useful.
2.vendor_id is produced.
3.the vandor name is "malawar".
I want output file like
1. order number is useful.
2. vendor_id is produced.
3. the vandor name is VmalawarV.
in input file line number 1.order number there is no... (4 Replies)
I have this:
((9:0.010,(11:0.089,13:0.004))
and I would like this:
((A9,(A11,A13))
How do I delete the semi colon and the number (i.e. 0.010) after the semi colon? Also, how can I add the letter before the number that is NOT removed?
Thank you in advance!
---------- Post updated... (4 Replies)
Hello.
I would like to search exactly "string1.string2.string3" and replace it by "new_string1.new_string2.new_string3"
And
I would like to search exactly "string2.string3" and replace it by "new_string2.new_string3"
And
I would not found in the result : "string1.new_string2.new_string3"... (3 Replies)
Hello Team,
Could you please help me with the below question?
I have a file with the following properties
1) File Delimiter is ;
2) Text columns are within double quotes
3) Numeric columns will not have double quotes
4) File has total 6 columns
Please see a sample record from file
... (3 Replies)
Using awk I am trying to replace all blank or null values with a . in the tad delimited input. I hope the awk is close. Thank you :).
input
name test
sam 1
liz 2
al
1
awk
awk 'BEGIN{FS=OFS="\t"}{for(i=1;++i<NF;)$i=$i?$i:"."}1'input
awk 'BEGIN { FS =... (6 Replies)
So lets say i have file my_birthday.402.zip ho it can became my_birthday.4.0.2.zip
Thank you :) (1 Reply)
Discussion started by: ZerO13
1 Replies
LEARN ABOUT DEBIAN
skycoor
skycoor(1) General Commands Manual skycoor(1)Name
skycoor - Convert coordinates
Synopsis
skycoor [-bdgjv] [-n ndec] ra1 dec1 sys1 ... ran decn sysn
or
skycoor [-vbjg] [-n ndec] @listfile
Description
skycoor converts coordinates between the J2000, B1950, and galactic coordinate systems, rounding to a specified number of decimal places
and printing in degrees or hh:mm:ss.sss dd:mm:ss.sss. Input coordinates may also be in either format, and the system (J2000, B1950, or ga-
lactic) may be in upper or lower case. No spaces are allowed within the individual coordinates
Options-b B1950 (FK4) output
-d RA and Dec output in degrees
-e Ecliptic longitude and latitude output
-g Galactic longitude and latitude output
-i r|d|
Input units (r=radians, d=degrees, else hh:mm:sss dd:mm:sss)
-j J2000 (FK5) output
-n <num>
Number of decimal places in output RA seconds
-o <num>
Offset coordinates by this many arcseconds
-p RA and Dec proper motion in milliarcseconds/year
-q Output system, including equinox
-r <RA> <Dec> <RA> <Dec>
Angular separation between two RA, Dec pairs
-s Output ra= dec= epoch= radecsys= for sethead
-v Print more intermediate information
-w Convert RA, Dec equatorial coordinates to x,y,z
-x Convert x,y,z equatorial coordinates to RA, Dec
-y <epoch>
Epoch of coordinates in years
Author
Doug Mink, SAO (dmink@cfa.harvard.edu)
9 November 2001 WCSTools skycoor(1)