[Ilugc] What is wrong in this script ?

  • From: yogeshg1987@xxxxxxxxx (Yogesh Girikumar)
  • Date: Thu, 28 Jul 2011 22:28:40 +0530

2011/7/28 Yogesh Girikumar <yogeshg1987 at gmail.com>:

2011/7/28 Mukesh Yadav <mak.gnu at gmail.com>:


still getting

bash: ./yuicompress.sh: /bin/bash^M: bad interpreter: No such file or
directory


Simply open the file with vim and you might see the extra windows eol character.

+1 on Guruprasad's comments

http://www.perlmonks.org/?node_id=810745

--
Y

Other related posts: