Sponsored Content
Full Discussion: validate input
Top Forums Shell Programming and Scripting validate input Post 302284944 by DDoS on Friday 6th of February 2009 03:27:01 PM
Old 02-06-2009
The solution are working guys but i want it to be like a loop.The user cannot exit unless he enters the correct input
Thanks anw
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validate input from user for file name

Hello, This may have been addressed already somewhere, however I am looking for the easiest/shortest way to validate a response from a user for a file name. The file name should not have any of the following characters ~`!@#$%^&*()_-+={|\:;"'<,>.?/ Further the response should not have any... (2 Replies)
Discussion started by: jerardfjay
2 Replies

2. Shell Programming and Scripting

How to validate input values

Hi How would i validate value of a variable whether it is number,date or string Thanks in advance Sas (5 Replies)
Discussion started by: SasDutta
5 Replies

3. Shell Programming and Scripting

Need to validate a date input format

Hi all, I have a shell script(K shell) which takes a date as input. i want the input to be in DD-MM-YYYY format. Can i enforce such a format of input string using just one line of code? OR do i need to parse the input date into different components and test them using Case statements... (2 Replies)
Discussion started by: rajugp1
2 Replies

4. Shell Programming and Scripting

Validate and sort input

Hi, This will most likely be a simple answer. Currently I have a situation where my script will be sent various options: -o1 -o2 -oe3@somthing.com Now, if I want to run a certain command based on the option I am sent, I am doing the following. for o in $(echo $options) do if ... (3 Replies)
Discussion started by: stuaz
3 Replies

5. Shell Programming and Scripting

How to validate input parameters?

Hi, I wonder how I can know if the input parameters to the script are numbers or text Thanks (11 Replies)
Discussion started by: Gengis-Kahn
11 Replies

6. Shell Programming and Scripting

Another validate input Question.

I'm writing a bash shell script to 'help' me post to susepaste (I can NEVER remember the time options). Here's the code: #!/bin/bash ########## # # Project : personal script. # Started : Wed Aug 03, 2011 # Author : Habitual # Description : susepaste c-li script with user... (5 Replies)
Discussion started by: Habitual
5 Replies

7. Shell Programming and Scripting

Epic - Validate input size

Is there an easy way to validate an input field size. Let us say a script is asking to enter 10 digits mobile number, how do I write a script to validate it is numeric and is 10 digits in length? I just need an easy way w/o using looks ...etc. Is there such a away ? Here is what I have so far... (6 Replies)
Discussion started by: mrn6430
6 Replies

8. Shell Programming and Scripting

How to validate user's input..?

$Input_filename=$ARGV; if (!-d $Input_filename && ! -e $Input_filename) { print "USAGE: Please enter '$ABCD/def/dsed.txt' as an arguement \n"; exit; } 1. Input Is suppose to be something like "$ABCD/def/dsed.txt". if the input is wrong the script should throw an ERROR message.... (2 Replies)
Discussion started by: Rashid Khan
2 Replies

9. Shell Programming and Scripting

Validate input files and update

We have a job which we need to run on daily bases, before loading data in a table we need to validate whether the input file is received or not.Inputfile formatsrc_sps_d_Call_Center_Reporting_yyyymmdd_01.dat SPS-Service nameYYYY-yearMM-MonthDD-dayLike above we will get n number of files for... (1 Reply)
Discussion started by: katakamvivek
1 Replies

10. Shell Programming and Scripting

Validate input files daily

We have a job which we need to run on daily bases, before loading data in a table we need to validate whether the input file is received or not. Daily client will place the files in a particular path.Below files which I need to process for 04/01/2013(Load date).... (2 Replies)
Discussion started by: katakamvivek
2 Replies
xrdp.ini(5)															       xrdp.ini(5)

NAME
xrdp.ini - Configuration file for xrdp(8) DESCRIPTION
This is the man page for xrdp.ini, xrdp(8) configuration file. It is composed by a number of sections, each one composed by a section name, enclosed by square brackets, folowed by a list of <parameter>=<value> lines. xrdp.ini is contains a [Globals] section, which sets some global configuration settings for xrdp(8), and one or more "connection" sections which contain the info on which services xrdp(8) can connect to. All options and values (except for file names and paths) are case insensitive, and are described in detail below. GLOBALS
The options to be specified in the [Globals] section are the following: bitmap_cache=[0|1] If set to 1, true or yes this option enables bitmap caching in xrdp(8) bitmap_compression=[0|1] If set to 1, true or yes this option enables bitmap compression in xrdp(8) CONNECTIONS
A connection section is made of a section name, enclosed in square brackets, and the following entries: name=<session name> The name displayed in xrdp(8) login window's combo box. lib=../vnc/libvnc.so Sets the library to be used with this connection. username=<username>|ask Specifies the username used for authenticating in the connection. If set to ask, user name should be provided in the login window. password=<password>|ask Specifies the password used for authenticating in the connection. If set to ask, password should be provided in the login window. ip=127.0.0.1 Specifies the ip address of the host to connect to. port=<number>|-1 Specifies the port number to connect to. If set to -1, the default port for the specified library is used. EXAMPLES
This is an example xrdp.ini: [Globals] bitmap_cache=yes bitmap_compression=yes [vnc1] name=sesman lib=../vnc/libvnc.so username=ask password=ask ip=127.0.0.1 port=-1 FILES
${XRDP_CFG_DIR}/xrdp.ini SEE ALSO
xrdp(8) sesman(8) sesrun(8) sesman.ini(5) for more info on xrdp see http://xrdp.sf.net xrdp team 0.1.0 xrdp.ini(5)
All times are GMT -4. The time now is 12:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy