Re: What development rpm am I missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-09-23 at 08:02 -0400, Robert Moskowitz wrote:
> Mogens Kjaer wrote:
> > On 09/23/2009 01:35 PM, Robert Moskowitz wrote:
> >> '/test1: line 1: syntax error near unexpected token `{
> >
> > Starting the script with
> >
> > #!/bin/bash
> >
> > might be a good idea. 
> 
> I used vi to insert this line and I get:
> 
> ./test1
> -bash: ./test1: /bin/bash^M: bad interpreter: No such file or directory
> 
> I don't see that control M in vi or gedit...
----
control characters are invisible unless the software has a provision to
make invisible characters visible (something like OOo can do).

adding a (^M) Control-M to each line ending is something a Macintosh
would normally do. When in doubt, you can always use 'od' command to
tell you exactly what is in a file, byte by byte.

You can 'fix' the line endings in any file using 'dos2unix' command.
Type 'dos2unix --help' to get the syntax.

Craig  


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux