Read input from Keyboard, do not proceed if no input

Tags
shell scripts

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 02-26-2016
As an addendum...

You will need to work out the error checking for each important field.

For example to gather the email address somebody.something@someaddress.extension you will have to check that it has a valid format. Not to forget that once passed it has to be checked for email validity too.
The above example is valid although does not exist but somebody.somethinATsomeaddress.extension is not.

Anything requiring a number only will have to be checked too although this should be staright forward.
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Run command if no mouse or keyboard input drew77 Shell Programming and Scripting 0 09-21-2018 01:17 PM
Simple capturing of keyboard input without interruption bedtime Programming 4 03-07-2018 12:08 PM
Keyboard User Input in awk language ? Zabo Programming 6 05-17-2017 05:25 PM
How to get input from keyboard with watch? bacarrdy Shell Programming and Scripting 0 04-01-2015 09:11 PM
Read input files and merge them in given order and write them to input one param or one file hyd1234 Shell Programming and Scripting 4 02-11-2014 11:59 AM
How to read user keyboard input inside the case? femchi Homework & Coursework Questions 2 11-08-2012 03:13 AM
Input keyboard keys upon program launch brunobliss Shell Programming and Scripting 2 11-02-2012 07:46 AM
sed execution with input from keyboard loggedin.ksh Shell Programming and Scripting 1 10-09-2012 10:18 AM
Keyboard input question biopulse Shell Programming and Scripting 5 11-29-2010 01:41 AM
Testing for correct user input from keyboard Pauline mugisha UNIX for Dummies Questions & Answers 0 11-29-2009 07:16 PM
[Debian] Stop input from keyboard and mouse nagalenoj UNIX for Advanced & Expert Users 5 05-03-2009 09:02 AM
How to get capture input events from keyboard and mouse yhacks Programming 4 05-26-2008 08:31 AM
Keyboard Input cpaquette Programming 4 04-07-2008 02:44 PM
Detecting Keyboard Input without return ravneetd Programming 4 05-10-2007 08:58 AM
suppressing keyboard input anthreedhr Shell Programming and Scripting 1 10-21-2004 12:05 PM
All times are GMT -4. The time now is 02:17 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?