From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Smith, Mike R." Newsgroups: gmane.os.tru64.managers Subject: Control characters in shell file Date: Tue, 28 Jan 2003 16:54:15 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1043790778 17311 80.91.224.249 (28 Jan 2003 21:52:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 21:52:58 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18ddf4-0004Uj-00 for ; Tue, 28 Jan 2003 22:52:55 +0100 Original-Received: (qmail 15397 invoked by uid 5); 28 Jan 2003 21:54:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15388 invoked by uid 49493); 28 Jan 2003 21:54:28 -0000 Original-Received: from smithmr@bowater.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.6/5.0):. Processed in 0.349536 secs); 28 Jan 2003 21:54:28 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 28 Jan 2003 21:54:28 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9G00AUH26RYU@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 28 Jan 2003 16:54:27 -0500 (EST) Original-Received: from gvls010.bowater.com ([167.147.30.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with SMTP id <0H9G00D9226INT@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 28 Jan 2003 16:54:18 -0500 (EST) Original-Received: from unknown(167.147.240.34) by gvls010.bowater.com via csmap id 5575; Tue, 28 Jan 2003 16:52:06 -0500 (EST) Original-Received: from gvlsnt78.bowater.com ([167.147.30.102]) by GVLAFW01; Tue, 28 Jan 2003 16:54:16 -0500 (EST) Original-To: "Tru64 \(E-mail\)" X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: Control characters in shell file Thread-Index: AcLHF8djXI0s+gNNRz25SRjPsdrsdw== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:3115 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3115 I have a script to check filesystem space. I wanted to add a new = filesystem to the check so I opened the file with Emacs and copied one = section, pasted it, and substituted the new filesytem name in the check = area. I noticed that in Emas there where ^M characters at the end of = every line. After I saved the file and it ran I got error ./filesystem_check[21]: ^M: not found Now when I edit using vi I see ^M at the end of the section I copied = from and in the section I added. This should be extremely simple. Any = one know why these characters are showing up in a file where I have = never seen them before. The code should work but I think the ^M is = causing a problem. Version 5.1 pk 5 of Tru64. Thanks for any help.