help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: --script and --quick


From: Chris F.A. Johnson
Subject: Re: --script and --quick
Date: Wed, 27 May 2015 03:18:04 -0400
User-agent: slrn/1.0.1 (Linux)

On 2015-05-27, Gian Uberto Lauri wrote:
> Yuri Khan writes:
> > This begs for an obvious solution: --script should have a
> > single-letter alias. Single-character options can [usually] be
> > combined in a single argument:
> > 
> > #!/usr/bin/emacs -Qs
>
> You are using a shell, the magic of shebang and you are not
> considering a shell script?
>
> This one works.
>
> ---------------------------------8<----------------------
> #!/bin/bash
>
> emacs --quick --script $@
> ---------------------------------8<----------------------

  That one could fail; it should be:

emacs --quick --script "$@"

-- 
Chris F.A. Johnson


reply via email to

[Prev in Thread] Current Thread [Next in Thread]