Fast, flexible, calculating from the command line


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Fast, flexible, calculating from the command line
# 1  
Old 03-11-2008
Fast, flexible, calculating from the command line

Tue, 11 Mar 2008 09:00:00 GMT
GUI calculators may be user-friendly, but they don't offer much comfort for a command-line power user. Fortunately, console-based tools such as bc, Genius, and Calc offer distinct advantages over their GUI counterparts.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fast processing(mv command) of 1 million+ files using find, mv and xargs

Hi, I'd like to ask if anybody can help improve my code to move 1 million+ files from a directory to another: find /source/dir -name file* -type f | xargs -I '{}' mv {} /destination/dir I learned this line of code from this forum as well and it works fine. However, file movement is kinda... (6 Replies)
Discussion started by: agentgrecko
6 Replies

2. Shell Programming and Scripting

Calculating differences line by line

i don't even know how to explain this. but i'll try my best. so i have this data: jime=1860,yime=1.23243 jime=1859,yime=1.23018 jime=1825,yime=1.15371 jime=1849,yime=1.20769 jime=1841,yime=1.1897 jime=1849,yime=1.20769 jime=1842,yime=1.19195 jime=1827,yime=1.15821... (8 Replies)
Discussion started by: SkySmart
8 Replies

3. Shell Programming and Scripting

Perl:Regex for Search and Replace that has a flexible match

Hi, I'm trying to match the front and back of a sequence. It works when there is an exact match (obviously), but I need the regex to be more flexible. When we get strings of nucleotides sometimes their prefixes and suffixes aren't exact matches. Sometimes there will be an extra letter and... (2 Replies)
Discussion started by: jdilts
2 Replies

4. Shell Programming and Scripting

Conundrum - Flexible way to strip extension

Hi, First post here. I have something that may prove to be difficult. I have the following files: Example1.0.0.tar.gz Example2.tar Example3.zip Example4.0.0.0.0.0.bzip2 I need to remove the file extensions and store as a variable so they look like this: Example1.0.0 Example2... (3 Replies)
Discussion started by: Spadez
3 Replies

5. Shell Programming and Scripting

Calculating the epoch time from standard time using awk and calculating the duration

Hi All, I have the following time stamp data in 2 columns Date TimeStamp(also with milliseconds) 05/23/2012 08:30:11.250 05/23/2012 08:30:15.500 05/23/2012 08:31.15.500 . . etc From this data I need the following output. 0.00( row1-row1 in seconds) 04.25( row2-row1 in... (5 Replies)
Discussion started by: ks_reddy
5 Replies

6. Shell Programming and Scripting

Calculating average for every Nth line in the Nth column

Is there an awk script that can easily perform the following operation? I have a data file that is in the format of 1944-12,5.6 1945-01,9.8 1945-02,6.7 1945-03,9.3 1945-04,5.9 1945-05,0.7 1945-06,0.0 1945-07,0.0 1945-08,0.0 1945-09,0.0 1945-10,0.2 1945-11,10.5 1945-12,22.3... (3 Replies)
Discussion started by: ncwxpanther
3 Replies

7. Shell Programming and Scripting

help for fast way of finding line number for a regex

Hello, I am trying to find out the line numbers where regex match and put them into a file with below command: awk '/'$pat'/ {print NR}' $fileName >> temp.txt where $pat is the regex but this command is taking a lot of time to execute with bigger files for size more than 5000000... (8 Replies)
Discussion started by: JoeColeEPL9
8 Replies

8. Shell Programming and Scripting

flexible sed command needed to handle multiple input types

Hello, I need a smart sed command that can take any of the following two as an input and give below mentioned output. As you can see, I am trying to convert some C code INPUT: struct abc_sample1 { char myString; UINT16 myValue1; ... (2 Replies)
Discussion started by: SiftinDotCom
2 Replies
Login or Register to Ask a Question
gnome-power-statistics(1)					   User Commands					 gnome-power-statistics(1)

NAME
gnome-power-statistics - GNOME power statistics GUI SYNOPSIS
gnome-power-statistics [--help] [--verbose] DESCRIPTION
gnome-power-statistics is a GUI program and enables you to visualize the power consumption of laptop hardware. Graphs can be displayed to show power history, charge history, estimated time history, charge time profile, discharge time profile, etc. OPTIONS
This program follows the usual command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. --help Show summary of options. --verbose Show extra debugging. EXAMPLES
Example 1: Launching gnome-power-statistics with the display of extra debugging messages. example% gnome-power-statistics --verbose EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-power-statistics Executable for GNOME power statistics GUI ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-power-manager | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gnome-power-manager(1), gnome-power-preferences(1), attributes(5) NOTES
This manual page was written by Simon Zheng simon.zheng@sun.com for the Debian system. Updated by Simon Zheng, Sun Microsystems Inc., 2008. SunOS 5.11 18 Feb 2008 gnome-power-statistics(1)