Sponsored Content
Full Discussion: The 500 Mile Email
The Lounge War Stories The 500 Mile Email Post 302895831 by blackrageous on Wednesday 2nd of April 2014 04:55:46 PM
Old 04-02-2014
Reminds me of something Richard Feynman said about having too many different units to express the same thing....in this case he was talking about energy.
 

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

HTTP Status 500

Hello all, sori my english very bad,but 1 month i search about this case and nothing can help,maybe I wrong place but please if anybody can help me about this error: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0 at java.util.Vector.elementAt(Vector.java:432) at... (2 Replies)
Discussion started by: fredginting
2 Replies

2. UNIX for Dummies Questions & Answers

how to tail last 500 lines and vi them?

I have a very large log file and it speed up scrolling. so I want to tail last 500 lies and see using vi editor. tail -n 500 large_file | small_file | vi {}; this won't work. I'm very novice on Unix. TIA. (2 Replies)
Discussion started by: kang
2 Replies

3. Shell Programming and Scripting

To add more than 500 ips

Hi, I have a server, which has more than of 1000 ip address, but only 500 ip address are responding in the Server. Here below the error message received while restarting the named Sep 22 00:25:00 ns2 named: creating IPv4 interface eth0:595 failed; interface ignored Sep 22 00:25:00 ns2... (5 Replies)
Discussion started by: gsiva
5 Replies

4. IP Networking

To add more than 500 ips

To add more than 500 ips Hi, I have a server, which has more than of 1000 ip address, but only 500 ip address are responding in the Server. Here below the error message received while restarting the named Code: Sep 22 00:25:00 ns2 named: creating IPv4 interface... (2 Replies)
Discussion started by: gsiva
2 Replies

5. Shell Programming and Scripting

Fill the values between -500 to 500 -awk

input -200 2.4 0 2.6 30 2.8 output -500 0 -499 0 -488 0 .......... .......... .... -200 2.4 .... ... 0 2.6 (6 Replies)
Discussion started by: quincyjones
6 Replies

6. Solaris

difference betwwen run level and mile stones

hi, kindly tell me difference between RUN levels and mile stones in SOLARIS thnx and regards shekhar (6 Replies)
Discussion started by: shekhar_4_u
6 Replies

7. UNIX Desktop Questions & Answers

for loop (001 to 500)

hey, how do i create a for loop that runs for i from 001 to 500 ? i need that the zero prefix will remain so when i print "i" it will look like so: 001 002 . . 008 009 . . 058 059 . . 500 please advise. (2 Replies)
Discussion started by: boaz733
2 Replies

8. Shell Programming and Scripting

Deleting all lines except last 500

Hi All, I want to write a script which first check the line counts of a file if its more than 500 it deletes rest except the last 500.. I tried sed but it looks sed counts line numbers from the head & not from tail.. May be I need a wc -l frist then apply if statement & pass on the line count... (17 Replies)
Discussion started by: ailnilanjan
17 Replies

9. HP-UX

Find file more than 500 MB

Hi, I used to use the below command on Solaris find /var/tmp -size +500000 -exec ls -e {} \; but this command does not seem to work on HP-UX. Can you help me list all files under /var/tmp and its sub-directories which are more than 500MB in size ? (7 Replies)
Discussion started by: mohtashims
7 Replies
UNITS(1)						    BSD General Commands Manual 						  UNITS(1)

NAME
units -- conversion program SYNOPSIS
units [-f filename] [-qv] [[count] from-unit to-unit] DESCRIPTION
units converts quantities expression in various scales to their equivalents in other scales. units can only handle multiplicative scale changes. It cannot convert Centigrade to Fahrenheit, for example. The following options are supported: -f filename Specifies the name of the units data file to load. -q Suppresses prompting of the user for units and the display of statistics about the number of units loaded. -v Prints the version number. from-unit to-unit Allows a single unit conversion to be done directly from the command line. No prompting will occur. units will print out only the result of this single conversion. The count argument can be prepended to the from-unit or it can be separate. units works interactively by prompting the user for input: You have: meters You want: feet * 3.2808399 / 0.3048 You have: cm^3 You want: gallons * 0.00026417205 / 3785.4118 Powers of units can be specified using the ``^'' character as shown in the example, or by simple concatenation: ``cm3'' is equivalent to ``cm^3''. Multiplication of units can be specified by using spaces, a dash or an asterisk. Division of units is indicated by the slash ('/'). Note that multiplication has a higher precedence than division, so ``m/s/s'' is the same as ``m/s^2'' or ``m/s s''. If the user enters incompatible unit types, the units program will print a message indicating that the units are not conformable and it will display the reduced form for each unit: You have: ergs/hour You want: fathoms kg^2 / day conformability error 2.7777778e-11 kg m^2 / sec^3 2.1166667e-05 kg^2 m / sec The conversion information is read from a units data file. The default file includes definitions for most familiar units, abbreviations and metric prefixes. Some constants of nature included are: pi ratio of circumference to diameter c speed of light e charge on an electron g acceleration of gravity force same as g mole Avogadro's number water pressure per unit height of water mercury pressure per unit height of mercury au astronomical unit ``pound'' is a unit of mass. Compound names are run together so ``poundforce'' is a unit of force. British units that differ from their US counterparts are prefixed with ``br'', and currency is prefixed with its country name: ``belgiumfranc'', ``britainpound''. When searching for a unit, if the specified string does not appear exactly as a unit name, then the units program will try to remove a trailing ``s'' or a trailing ``es'' and check again for a match. All of these definitions can be read in the standard units file, or you can supply your own file. A unit is specified on a single line by giving its name and an equivalence. One should be careful to define new units in terms of old ones so that a reduction leads to the primi- tive units which are marked with '!' characters. units will not detect infinite loops that could be caused by careless unit definitions. Prefixes are defined in the same way as standard units, but with a trailing dash at the end of the prefix name. FILES
/usr/share/misc/units.lib the standard units library AUTHORS
Adrian Mariano <adrian@cam.cornell.edu> or <mariano@geom.umn.edu> CAVEATS
While units can be used as a calculator for many unit-related computations, caution is required: many computations require additional con- stant factors deriving from the physics (or chemistry or whatever) of the situation. As these factors are dimensionless, units cannot itself either provide them or warn the user when they have been forgotten. For example, one joule is one kilogram meter squared per second squared, by definition; however, the kinetic energy of a one-kilogram object moving at one meter per second is half a joule, not one joule, because of a dimensionless factor that arises from integration. Also, some pairs of units that have the same dimensionality are nonetheless used to measure different things and attempting to convert between them may require additional fudge factors or be entirely meaningless. For example, torque and energy have the same dimensionality, but attempting to convert torque in newton-meters to energy in joules is nonsensical. There is no practical way for units to warn about these issues either. BUGS
The effect of including a '/' in a prefix is surprising. Exponents entered by the user can be only one digit. You can work around this by multiplying several terms. The user must use '|' to indicate division of numbers and '/' to indicate division of symbols. This distinction should not be necessary. The program contains various arbitrary limits on the length of the units converted and on the length of the data file. The program should use a hash table to store units so that it doesn't take so long to load the units list and check for duplication. BSD
April 3, 2011 BSD
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy