I am trying to validate user input, at the moment what i have is as below :-
echo "\n\tPlease, enter package name to import: \c"
read PACKAGE
So far this works perfect , But if the user does not input any thing it stalls :(
What I need is, If the user does not enter the name of the... (9 Replies)
The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user:
"Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script... (2 Replies)
Hi guys, I have a piece of snippet below which asks the user to input some numbers
if isDatasubEnabled && isReconEnabled; then
echo "1 = CGT, 2 = Subscriber, 3 = Order Monitor, 4 = Revaluations, 5 = Reconciliation, 6 = All, 7 = Exit"
elif isDatasubEnabled &&... (4 Replies)
Hello Everyone,
I have the following script;
------------------------------------------------------------------
#!/bin/ksh
set HSC=$1
set SEX=$2
set EXP='export ORACLE_SID=AFISDB'
if ($#argv !=2);
then
echo Usage $0 HSC SEX
else
date > modify_gender_trace.txt
$EXP
echo... (5 Replies)
Hello all,
I am working on a script and have the first part solved of numerical input validation. Below the code validates that the input is a numerical value between 100 and 1000. If not, it errors out. Now I need to be able to read values separated by a comma. For example, instead of my... (5 Replies)
Hi,
I'm trying to do input validation for a file. If the user fails to enter a file name, the script should prompt for the file name or exit. I'm using this script to integrate with a bigger script which does ftp of the files which are "read".
#!/bin/ksh
echo "enter a file name"
if
then... (16 Replies)
The Code:
#!/usr/bin/perl
use strict;
use warnings;
print "Please enter numbers, separated by commas: ";
my $data=<STDIN>; chomp $data;
my @dataset=split(/,/, $data);
my $sum = 0;
foreach my $num (@dataset) {
$sum += $num;
}
my $total_nums = scalar(@dataset);
my $mean =... (1 Reply)
i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled.
#!/bin/sh
echo " Enter your choice to continue y/Y OR n/N to quit "
read A
if
then
echo " user requested to continue "
##some commands... (7 Replies)
Hi
I need to put the validation in batch script when user will enter the build number it should be numeric.I can put the validation for numeric values but there is .(dot) in number so it would not take it as numeric.
Is it possible we can store it in variable and remove the .(dot) from the... (1 Reply)
Hi Experts,
I've a script where users will input the email id. I want to loop the script until the user enter proper email id.
Its validating for all condition and error out if any wrong data, but for one condition alone its not erroring out.
Capture_EmailID()
{
echo -e "Please Enter... (1 Reply)
Discussion started by: senthil.ak
1 Replies
LEARN ABOUT DEBIAN
soundconverter
SOUNDCONVERTER(1) GNOME User's Manual SOUNDCONVERTER(1)NAME
soundconverter - convert sound files to other formats
SYNOPSIS
soundconverter [options] [file...]
DESCRIPTION
soundconverter is a simple tool for converting sound files to other formats. It can work from the command line, but is really meant for
interactive use in the GNOME environment.
OPTIONS -h, --help
Print out a usage summary.
-b, --batch
Convert in batch mode, from command line, without a graphical user interface. You can use this from, say, shell scripts.
-m, --mime-type arg
Set the output MIME type for batch mode. The default is audio/x-vorbis. Note that you probably want to set the output suffix as
well.
-q, --quiet
Be quiet. Don't write normal output, only errors.
-d, --debug
Print additional debug information.
-s, --suffix arg
Set the output filename suffix for batch mode. The default is .ogg. Note that the suffix does not affect the output MIME type.
-t, --tags
Show tags for input files instead of converting them. This indicates command line batch mode and disables the graphical user inter-
face.
-j, --jobs=
Force number of concurent conversions. Default is one per present CPU.
AUTHOR
Lars Wirzenius (liw@iki.fi). Gautier Portet (kassoulet@gmail.com) Uwe Bugla (uwe.bugla@gmx.de).
GNOME 2009-06-10 SOUNDCONVERTER(1)