Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-26-2003, 12:24 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28
Rep:
|
Solaris ckrange , ckyorn equivalent for Linux
Hi All,
Is there any commands in linux equivalent for Solaris commands ckrange, ckyorn ???
I am sorry if this quetion is not relevant to this forum. From which forum i should post it??
-Kotresh.
|
|
|
06-26-2003, 12:32 AM
|
#2
|
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445
Rep:
|
Could you tell us what they do. Some of us dont know Solaris. 
|
|
|
06-26-2003, 12:42 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28
Original Poster
Rep:
|
Hi,
Extract from Solaris Man pages.
ckrange:
DESCRIPTION
The ckrange utility prompts a user for an integer between a
specified range and determines whether this response is
valid. It defines, among other things, a prompt message
whose response should be an integer in the range specified,
text for help and error messages, and a default value (which
is returned if the user responds with a <RETURN>).
This command also defines a range for valid input. If either
the lower or upper limit is left undefined, then the range
is bounded on only one end.
ckyorn:
DESCRIPTION
ckyorn prompts a user and validates the response. It
defines, among other things, a prompt message for a yes or
no answer, text for help and error messages, and a default
value (which is returned if the user responds with a
<RETURN>).
I hope this is right forum for such porting quetions.
-Thanks.
Kotresh.
|
|
|
06-26-2003, 03:01 AM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
I don't know of any equivalents. It's easy enough to duplicate such prompt and validation in whatever language you are working in.
|
|
|
All times are GMT -5. The time now is 03:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|