Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

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

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 4 Days Ago 12:17 PM
Keyboard User Input in awk language ? Zabo Programming 6 05-17-2017 04:25 PM
How to get input from keyboard with watch? bacarrdy Shell Programming and Scripting 0 04-01-2015 08: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 10:59 AM
How to read user keyboard input inside the case? femchi Homework & Coursework Questions 2 11-08-2012 02:13 AM
sed execution with input from keyboard loggedin.ksh Shell Programming and Scripting 1 10-09-2012 09:18 AM
Keyboard input question biopulse Shell Programming and Scripting 5 11-29-2010 12:41 AM
Keyboard Input cpaquette Programming 4 04-07-2008 01:44 PM
Detecting Keyboard Input without return ravneetd Programming 4 05-10-2007 07:58 AM
suppressing keyboard input anthreedhr Shell Programming and Scripting 1 10-21-2004 11:05 AM


All times are GMT -4. The time now is 03:02 AM.

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