Archive for March, 2010

How can I make my script check if an entered subdirectory is valid?


2010
03.26
Chest Rockwell asked:


I’m writing a shell script for class that needs to prompt the user to enter a subdirectory, If their entry is valid, it will display the contents of that directory. If it is invalid, it will throw an error message and exit.

How can I make the script check if their entry is valid without having to program each and every directory into the script?

Is Ruby on Rails good for me (1 person) to make social networks like twitter and sites like that?


2010
03.16
Branzers asked:


Is Ruby on Rails good for a kid programmer who wants to be famous?