You should probably quote "$<" and "$input", but that doesn't explain the problem
different versions of csh seem to have strange problems with =~ *[
#!/bin/csh -xv
may or may not provide some clues to what is going wrong
you might want to try a different approach, such as
set input="$<"
if ( "${input:as/0//:as/1//:as/
Main Topics
Browse All Topics





by: JustUNIXPosted on 2008-10-03 at 03:17:42ID: 22632435
Wich Unix or Linux variant are you having problems with?
Select allOpen in new window