From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Covici Newsgroups: gmane.emacs.help Subject: emacs capitalizing every word in replacement how to prevent Date: Thu, 24 Nov 2022 07:25:56 -0500 Organization: Covici Computer Systems Message-ID: Reply-To: covici@ccs.covici.com Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-2022-JP Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1542"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 13:27:11 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyBJv-0000Bf-QA for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 13:27:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyBJ6-000302-Ey; Thu, 24 Nov 2022 07:26:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyBIy-0002yf-8F for help-gnu-emacs@gnu.org; Thu, 24 Nov 2022 07:26:12 -0500 Original-Received: from debian-2.covici.com ([166.84.7.93] helo=covici.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyBIr-0007Ir-Lt for help-gnu-emacs@gnu.org; Thu, 24 Nov 2022 07:26:11 -0500 Original-Received: from ccs.covici.com (ccs.covici.com [70.109.51.194]) (authenticated bits=0) by covici.com (8.15.2/8.15.2/Debian-22) with ESMTPSA id 2AOCSlpB2218434 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 24 Nov 2022 07:28:50 -0500 Original-Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.17.1.9/8.17.1) with ESMTPS id 2AOCQ0J11454008 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 24 Nov 2022 07:26:00 -0500 Original-Received: (from covici@localhost) by ccs.covici.com (8.17.1.9/8.17.1/Submit) id 2AOCPuZZ1453932; Thu, 24 Nov 2022 07:25:56 -0500 Received-SPF: none client-ip=166.84.7.93; envelope-from=covici@ccs.covici.com; helo=covici.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141131 Archived-At: Hi. I have a shell script like this JawMuscles1 followed by other similar names. I wanted to replace each item in the file like this: Replace regexp (default ^.*$ → cd jawstemp; unzip ../\&.zip;mkdir ../\&;mv * ..\&;cd .. but Emacs capitalized every word in the replaced lines, including all the commands -- it replaced unzip with Unzip etc. I have never seen this before. The file is type shellscript. How to prevent this? Thanks for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com