From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bolega Newsgroups: gmane.emacs.help Subject: GURU NEEDED : break a command into several lines and comment each line Date: Thu, 13 Jan 2011 13:18:31 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1294954844 10878 80.91.229.12 (13 Jan 2011 21:40:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2011 21:40:44 +0000 (UTC) Cc: gnuist006@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 13 22:40:38 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PdUuH-0000YP-2h for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 22:40:33 +0100 Original-Received: from localhost ([127.0.0.1]:57845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdUuF-0001Gm-PG for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 16:40:31 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!z5g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: comp.unix.shell,gnu.emacs.help,comp.lang.python Original-Lines: 19 Original-NNTP-Posting-Host: 75.28.130.234 Original-X-Trace: posting.google.com 1294953511 13480 127.0.0.1 (13 Jan 2011 21:18:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Jan 2011 21:18:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z5g2000yqb.googlegroups.com; posting-host=75.28.130.234; posting-account=REkl4woAAABFXaU7nL79XtGpnmNCQ415 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; {83B3ACED-AC9F-2058-FD69-DBCDCD722B97}; (R1 1.5)),gzip(gfe) Original-Xref: usenet.stanford.edu comp.unix.shell:249281 gnu.emacs.help:184246 comp.lang.python:651743 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78420 Archived-At: Basically, I have spent a few hours experimenting and searching on the comp.unix.shell how to break a command with several switches into more than one line AND to be able to put some comment on each line. #!/bin/bash -xv command \ # comment1 -sw1 \ # comment2 -sw2 \ # comment3 arguments One ought to be able to comment every single switch if desired for whatever reason. Bolega