Accept user input for multiple numbers

August 24, 2012 at 06:32:34
Specs: Windows 7
How do I take user input and apply it to routine in csh?
ex. 229 230 231 (user input)
use those numbers and wildcards to list a set of files. ex. *229* *230*

See More: Accept user input for multiple numbers

Report •

#1
August 24, 2012 at 13:13:22

Report •

#2
August 24, 2012 at 16:48:34
Hey, Pubba:

I'll bet it's because the class the guy is taking requires csh! :) :)


Report •

#3
August 25, 2012 at 21:01:04
Nails:

That was my original throught. But upon further reflection, I asked myself, would I teach people C shell and assign any sort of programming assignment? As a shell, csh is extremely lacking. The only appeal it ever held was to those who are C programmers and like to use similar structure. Me, I still like the Korn shell and even in the days that I was programming C, I didn't like csh.


Report •

Related Solutions

#4
August 27, 2012 at 08:48:36
Pubba:

I hear you; I, also, like the ksh, but as I get more into perl, I can see how scripting languages can replace the shell.

And I share your disdain for the csh as pointed out in the link you provided. In the past, the company I worked for forced the csh on us because it was the "corporate standard." I actually designed a 2-day Unix-intro class using the csh. It actually made me ill (nerd humore).


Report •

Ask Question