02-23-2012
Quote:
Originally Posted by
spynappels
Or if you need it in xml format:
Changing the extension of a filename does not change its format. This just
names it XML, whether it deserves that extension or not.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello people,
I have a question concerning wget and rapidshare. How I can download from Rapidshare (have a premium account) using command-like tool wget. It seems pretty easy, but I always get only very small file (5KB) something like html. Please correct me if I am doing something in a wrong... (1 Reply)
Discussion started by: trolis
1 Replies
2. UNIX for Dummies Questions & Answers
Dear unix gurus,
I have a data file with header information about a subject and also 3 columns of n rows of data on various items he owns. The data file looks something like this:
adam peter
blah blah blah
blah blah blah
car
01 30 200
02 31 400
03 57 121
.. .. ..
.. .. ..
n y... (8 Replies)
Discussion started by: tintin72
8 Replies
3. UNIX for Dummies Questions & Answers
Hi friends,
I have a script that sets the env variable path based on different conditions.
Now the new path variable setting should not done in the same terminal or same shell.
Only a new terminal or new shell should have the new path env variable set.
I am able to do this only as follows:
>cd... (1 Reply)
Discussion started by: sowmya005
1 Replies
4. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
5. Shell Programming and Scripting
We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Discussion started by: dineshbabu01
0 Replies
6. Shell Programming and Scripting
Hello All
I have a xml file with many sets of records
like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
also same file can be like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
<tag3>data2&data3</tag3>
Now i can grep & and replace with & for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies
7. Shell Programming and Scripting
Hi, I have text file abc.txt. In this file, I have the following data.
Input:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith& Mrs Smith
Mr Smith &Mrs Smith
Output:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith&... (4 Replies)
Discussion started by: naveed
4 Replies
8. Shell Programming and Scripting
cat file1.txt
field1 "user1":
field2:"data-cde"
field3:"data-pqr"
field4:"data-mno"
field1 "user1":
field2:"data-dcb"
field3:"data-mxz"
field4:"data-zul"
field1 "user2":
field2:"data-cqz"
field3:"data-xoq"
field4:"data-pos"
Now i need to have the date like below.
i have just... (7 Replies)
Discussion started by: ckaramsetty
7 Replies
9. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
10. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
LEARN ABOUT DEBIAN
utm2ll
UTM2LL(1) General Commands Manual UTM2LL(1)
NAME
utm2ll - Convert UTM coordinates to latitude/longitude geographical coordinates
SYNOPSIS
utm2ll [-L] | [utm_x utm_y zone [nad27 | nad83 | wgs84]]
DESCRIPTION
This program uses Redfearn's formulas to convert a given set of Universal Transverse Mercator (UTM) coordinates into the equivalent lati-
tude and longitude geographical coordinates. (This operation is often referred to as inverse projection, since it projects a previously-
projected flat surface back onto the curved surface from whence it originally came.) The inputs are the UTM "x" (also known as easting)
value, the UTM "y" (also known as northing) value, and the utm zone. The "x" value includes the normal 500,000 false easting. The "y"
value includes the normal 10,000,000 false northing, if the point is in the southern hemisphere. For points in the southern hemisphere,
make the zone number negative.
Warning: Not all of the possible triples of utm_x, utm_y, and zone values represent correct UTM coordinates. The program will generally
still produce latitude/longitude coordinates, even for incorrect inputs. You can check that your original inputs were correct by using
ll2utm to convert the latitude/longitude coordinates back into UTM coordinates.
The output takes the form of a single line, containing the latitude and longitude, separated by white space. The values are in decimal
degrees; with latitudes south of the equator being negative, and longitudes west of the prime meridian being negative.
If you provide just the "-L" option, the program will print some license information and exit.
Projections, and inverse projections, depend on defining an ellipsoid that approximates the shape of the earth (the reference ellipsoid)
and defining reference coordinates (the datum) that allow measurements to be made. Different choices of the ellipsoid and datum can yield
projections that differ by tens of meters. There are a wide variety of choices, due to both the historical progression of measurement
technology, and the desire to maximize accuracy over a given region (such as North America, or one of the United States).
This program defaults to the North American Datum of 1927 (NAD-27) with the Clarke Ellipsoid of 1866, since these appear to be appropriate
for much of the freely-available data. The data are apparently in the process of being converted to the Geodetic Reference System 1980
(GRS-80) ellipsoid and NAD-83. If you come across such data, you can specify "nad83" on the command line. The GTOPO30 data use the World
Geodetic System 1984 (WGS-84) ellipsoid, which can be invoked by specifying "wgs84" on the command line.
SEE ALSO
The ll2utm(1) command provides the inverse conversion.
Jul 24, 2001 UTM2LL(1)