[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired command on marked files
From: |
Joel J. Adamson |
Subject: |
Re: dired command on marked files |
Date: |
Mon, 16 Jun 2008 17:04:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> Hi,
>
> I would like to use dired to create some plots using
> xmgrace/gracebat. My idea is to mark some files and plot
> them all into one diagram using something like:
>
> gracebat <file1> <file2> ... <file n> -pexec 'subtitle "<title>"'
> -hardcopy -hdevice EPS -printfile "<name>"
>
> Generally, I would use 'call-process' , but I have no clue, how I can
> create a call with variable number of files (depending on the marks).
> In the end, emacs should ask for the 'title' and 'name'.
Are you talking about a program, or interactively? Interactively, I
would use a shell for loop.
Joel
--
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
http://trashbird1240.blogspot.com