04-02-2017
Can you show what you did exactly?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am getting two input from User for Date from the command prompt when
my script is executed .
The date format i am taking is : DD-MM-YYYY
so is there any method in Unix to validate the two input date.
There might be many cases for these two date to be invalid.... (1 Reply)
Discussion started by: rawatds
1 Replies
2. UNIX for Advanced & Expert Users
I'm trying to read the output of a .sql script (simple insert and commit oracle pl/slq script) to a log file using a shell script. My problem is I end up with a log file that looks like this:
sd12@phenix97:/detain/sd12/logs > cat 20071205_detain_20071206.log
12320496 rows created. Commit... (11 Replies)
Discussion started by: sd12
11 Replies
3. Shell Programming and Scripting
HI guys,
I have created a script to read 1 column in a csv file and then place it in text file.
However, when i checked out the text file, it is not in a column format...
Example:
CSV file contains
name,age
aa,11
bb,22
cc,33
After using awk to get first column
TXT file... (1 Reply)
Discussion started by: mdap
1 Replies
4. Shell Programming and Scripting
I need the date validation. I searched in the google but i didn't find my requirements.
requirements:
1) user has to enter the date in YYYY/MM/DD format
2) MM validations
3) DD validations.
and if the month is april it should allow 30 days only and for May month it should allow 31 days like... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
5. Shell Programming and Scripting
Hi Folks,
I have few mailids in a text file and need to check whether the mailid is in correct format or not.
If just to check whether the string is a mailid or not there is a perl module Email::Valid to do the business or we can implement our own logic.
But the mail_ids I am having is... (4 Replies)
Discussion started by: giridhar276
4 Replies
6. Shell Programming and Scripting
Hi! how do i know if the input is the same as the required date format? the date should be dd/mm/YYYY ex. 2/3/2012 or 15/11/2012
all the following conditions must return an error:
*input of string
*day is > 31 or < 1
*month is > 12 or < 1
*year is < 2013
suppose the date format is stored... (1 Reply)
Discussion started by: angilulu
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Recently we migrated an application in HP UX to Linux. The files(scripts & logs)download from HP UX coming in a formatted way in MS notepad. However the files in Linux are not in correct format in MS notepad(No spaces , some spl symbols like square).We tried both ASCII and binary but no... (2 Replies)
Discussion started by: nag_sathi
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies
9. Shell Programming and Scripting
All,
Objective : Extract the correct format of a file name.
Please share the script command which will extract the correct format of the file after untarring.
Example : If the file is of .csv format then extract filename.csv
if the file is having .CSV then extract the same.CSV
if the file... (1 Reply)
Discussion started by: Mahesh G
1 Replies
10. UNIX for Beginners Questions & Answers
Say I have this line:
read -p "Enter 3 numbers: " num1 num2 num3;
I want to write a while loop that repeatedly asks for input if the number of inputs entered is not equal to 3.
I don't know the correct command to find the number of inputs entered. Help, please? (4 Replies)
Discussion started by: jejemonx
4 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)