👤
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

👤 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
Simple capturing of keyboard input without interruption bedtime Programming 4 03-07-2018 11:08 AM
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
How to get capture input events from keyboard and mouse yhacks Programming 4 05-26-2008 07:31 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 02:20 AM.



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

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