From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: GURU NEEDED : break a command into several lines and comment each line Date: Thu, 13 Jan 2011 14:46:19 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294958842 31190 80.91.229.12 (13 Jan 2011 22:47:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2011 22:47:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bolega Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 13 23:47:18 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 1PdVwr-0005cD-Ix for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 23:47:17 +0100 Original-Received: from localhost ([127.0.0.1]:47672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdVwr-0001wk-2m for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 17:47:17 -0500 Original-Received: from [140.186.70.92] (port=44289 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdVwI-0001vY-SU for help-gnu-emacs@gnu.org; Thu, 13 Jan 2011 17:46:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdVwH-0000Jw-QU for help-gnu-emacs@gnu.org; Thu, 13 Jan 2011 17:46:42 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:46132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdVwH-0000G0-Df for help-gnu-emacs@gnu.org; Thu, 13 Jan 2011 17:46:41 -0500 Original-Received: by mail-fx0-f41.google.com with SMTP id 12so2151411fxm.0 for ; Thu, 13 Jan 2011 14:46:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Tr3cO7iae0ucV9Ak+6Im6T7wKk2RgxnHvmhzi0Q4ZDk=; b=MaiOf9+qqV1BsO641xM5OgFDwGv9IHj4PjgN3uG4CHkF0FmDkw2RPPqv8ze4xI2mUV FbTWsItRnc/OG3dU+GL16qM+rjqW3hK33DijR+FHTgOcpCbKImhcOqAl6hF2NElseyNy xVELpAYfD0404zw6vSM6Fn5hV1XzjU/FWXkU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=uv67zx/yXEvzzNWxm7HE1xXWu4Hag7jRGOeC6a5eCt9UrfWcKxvcM89RFoddY6xS61 RQrPm424Bwov0iAdDTwBGaKxtZt4LwEGrlFny/IzgYNziSRoOsF8BkMyV0vc4RWizTeK i2YCh3scyPsBCELc/TEQY+lSkc6lc2DSZ7t/w= Original-Received: by 10.223.107.82 with SMTP id a18mr18106fap.88.1294958799975; Thu, 13 Jan 2011 14:46:39 -0800 (PST) Original-Received: by 10.223.71.207 with HTTP; Thu, 13 Jan 2011 14:46:19 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: JB2XsI_EzMORNT3IBiDtu1F8PQM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:78421 Archived-At: On Thu, Jan 13, 2011 at 1:18 PM, bolega wrote: > 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 =A0 =A0 =A0 \ # comment1 > =A0 =A0 =A0 =A0 -sw1 \ # comment2 > =A0 =A0 =A0 =A0 -sw2 \ # comment3 > =A0 =A0 =A0 =A0 arguments > > One ought to be able to comment every single switch if desired for > whatever reason. > I don't think you can, but why post a shell question on the GNU emacs users list? > Bolega > > > --=20 Suvayu Open source is the future. It sets us free.