addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: RE: [linux-392] csh won't run

From: Bruce I.
Sent on: Tuesday, May 13, 2008 10:03 AM
Too much shell religion for me!
Everyone knows you should be doing inside Emacs with elisp! ;) [dodging tomatos]

You might try installing tcsh, if you can. It is upwards compatible
from csh, and might offer help.

You mentioned filezilla. I've noticed problems in Cygwin, when I run
scripts with DOS CRLFs.
Hmm. I hope Mac OSX now uses \Ns.
Try running
  dos2unix rm_csh
You can also try tr or sed.

Of course, if you use Emacs, you'll see all CRLF line endings :)

Another thing that can go wrong, is if you have changed the alias of
ls. You should never run scripts with aliased commands, but it happens
all the time.
What happens, when you do
   ls ./*_*.jpg
(solve the problem by breaking it apart)

Instead try
  echo {thePath}/*_*.jpg
  \ls {thePath}/*_*.jpg
Note the leadiing '\'
You could also try `unalias`


As regards your prompt, try
  echo $PS1   #sh syntax?
  echo {PS1}
Look at startup files, in particular
There could even be trouble in your X Window startup files, or,
shudder, /etc/rc/* daemons

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy