emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] Need different beginning for tangled script
@ 2010-02-03 14:14 Rainer M Krug
  2010-02-03 15:42 ` Dan Davison
  0 siblings, 1 reply; 4+ messages in thread
From: Rainer M Krug @ 2010-02-03 14:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1169 bytes --]

Hi

I want to use org-mode to create a submit script for a cluster, and would
need the first lines to be as follow:

#!/bin/bash
#$ -cwd -j y
#$ -t 1-5
#$ -l mem_free=4G

at the moment I get:

#!/usr/bin/env sh
# generated by org-babel-tangle
#
[[file:~/Documents/Projects/BiocontrolAndAlienDynamics/HakeaLandscape/trunc/R/spreadSim.org::*submit%20scripts][block-19]]
#$ -cwd -j y
#$ -t 1-5
#$ -l mem_free=4G

1) Is the first line customizable, or do I have to change org-babel-sh.el to
use #!/bin/bash instead?
2) Can I ommit the second and third line (the comments added by tangle)?

Thanks, and I must say org-mode is getting better and better

Cheers,

Rainer
-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 2434 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-03 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-03 14:14 [babel] Need different beginning for tangled script Rainer M Krug
2010-02-03 15:42 ` Dan Davison
2010-02-03 17:19   ` Eric Schulte
2010-02-03 17:36   ` Dan Davison

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).