Sponsored Content
Top Forums Shell Programming and Scripting Printing the column that begins with certain words/numbers Post 302318254 by ghostdog74 on Thursday 21st of May 2009 07:19:07 AM
Old 05-21-2009
why don't you show an example and show your output.
 

10 More Discussions You Might Find Interesting

1. Web Development

Query to print numbers in words

Hi, If i give a number say "1234" the output of mysql query should be: one thousand and twenty four How to write mysql query for this? With regards Vanitha (5 Replies)
Discussion started by: vanitham
5 Replies

2. Shell Programming and Scripting

Extract numbers below words with awk

Hi all, Please some help over here. I have a Sales.txt file containing info in blocks for every sold product in the pattern showed below (only for 2 products). NEW BLOCK SALE DATA PRODUCT SERIAL 79833269999 146701011945004 .Some other data .Some... (17 Replies)
Discussion started by: cgkmal
17 Replies

3. Shell Programming and Scripting

Query to print numbers in words

Hi, I have to write a shell script that converts numbers in to words below is what i wrote.My script is not running. ----------------------------------- echo -n "Enter number : " read n len= echo $n | wc -c echo " number in words : " for ( i=1; i<len; i++ ) do num=echo $n... (5 Replies)
Discussion started by: bab123
5 Replies

4. Shell Programming and Scripting

how to avoid few words to be printing.

Hi all. Am using the below command to get the database size for past two days.. grep total * |awk '{print $9/1024}' 560.746 1260.336 Now i want to see only the size in GB's which means i need to avoid the words from (.dot) and the output should come like below: 560 1260 (3 Replies)
Discussion started by: suri.tyson
3 Replies

5. UNIX for Dummies Questions & Answers

Split words from 2 files and printing in csv

Hello Everyone, (1 Reply)
Discussion started by: thankful123
1 Replies

6. Shell Programming and Scripting

printing words based on column match

pls help Input: file1 word1 text1 word2 text2 word3 text3 file2 word1 text11 word3 text13 can u pls help in getting the same output: file1 text1 text2 text3 (1 Reply)
Discussion started by: bha148
1 Replies

7. Shell Programming and Scripting

Difference between words and not between numbers

Hi, Sorry in advance for propably a silly question, but I am a bit lost. On some of the linux job flow I have the following check: if ($file != 1500) then echo ERROR It works ok, all times $file is not equal to 1500 I have the error message. I try to do something similar... (7 Replies)
Discussion started by: essemario
7 Replies

8. UNIX for Dummies Questions & Answers

Trying to sort words and numbers associated with them.

Hi. I have a file containing words and numbers associated with them as follows - c 2 b 5 c 5 b 6 a 10 b 16 c 18 a 19 b 21 c 27 a 28 b 33 a 76 a 115 c 199 c 251 a 567 a 1909 (4 Replies)
Discussion started by: maq
4 Replies

9. Shell Programming and Scripting

Put numbers against the words

Hi All, I tried to solve this but the result gives me all zeros for one file. I failed to do for all 500 files. I have some 500 files with the extension .dat I have another set of files; 500 in number with extension .dic I created these .dic files by using sort -u from the actual .dat files.... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies

10. Shell Programming and Scripting

Adding numbers matching with words

Hi All, I have a file which looks like this: abc 1 abc 2 abc 3 abc 4 abc 5 bcd 1 bcd 3 bcd 3 bcd 5 cde 7 This file is just a miniature version of what I really have. Original file is some 1 million lines long. I have tried to come up with the code for what I wish to accomplish... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
IBAM(1) 																   IBAM(1)

NAME
IBAM - the Intelligent Battery Monitor SYNOPSIS
ibam [options] DESCRIPTION
IBAM-0.3, the Intelligent Battery Monitor (C) 2001-2004 Sebastian Ritterbusch OPTIONS
-h, --help displays help message -v, --version displays software version -b, --bios show bios apm guesses -s, --seconds displays times in seconds -c, --correctseconds displays changes in seconds -r, --readonly no files will be updated -a, --all show ALL information --battery show battery time --batteryadaptive show adaptive battery time --batterybios show bios battery time guess --percentbattery show battery percentage --percentbios show bios percentage --charge show charge time --chargeadaptive show adaptive charge time --percentcharge show charge percentage --totalbattery show total battery time --totalbatteryadaptive show adaptive total battery --totalcharge show total charge time --totalchargeadaptive show adaptive total charge --plot[=profiles] use gnuplot to plot battery and charge graphs and plot the last <profiles> additional profiles --plotderivations same as above plus standard deviations --plotdeviations same as above plus standard deviations --import import V0.1 data from current directory --profile enable additional yet unused profiling --noprofile disable additional profiling --credits to everyone contributing to ibam AUTHOR
This manual page was written by Martin Wuertele <martin@wuertele.net> for the Debian GNU/Linux system (but may be used by others). 2 IBAM(1)
All times are GMT -4. The time now is 03:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy