Questions tagged [csh]

66 questions
4
votes
1 answer

csh: how to test for blank correctly?

I want to test if a variable is totally empty in csh. set R='dddd aaa' if ( '${R}' ) then echo not empty else echo 1111 endif However it apparently does not work. It gives this error message: /usr/bin/test: argument expected if:…
Anthony Kong
  • 5,028
1
vote
1 answer

How do I background a job quietly?

Using csh, how do I put a job in the background without generating any output? [prompt] job & [1] 5103 I want to eliminate the line [1] 5103
dromodel
  • 287