Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] escaping of an argument
- Date: Mon, 30 Sep 2024 13:54:53 -0400
- From: David Johnson <david_johnson@xxxxxxxxx>
- Subject: Re: [HTCondor-users] escaping of an argument
If you want the value of HOSTNAME environment variable, use $HOSTNAME.
If you want the output of the hostname command, use $(hostname), or backtick hostname backtick , where backtick is unshifted tilde key on US keyboards.
-- ddj
Dave Johnson
> On Sep 30, 2024, at 1:47âPM, Beyer, Christoph <christoph.beyer@xxxxxxx> wrote:
>
> ïhi,
>
> I try something maximum simple for a hands-on but:
>
> executable = /usr/bin/echo
> arguments = "Hello world - I run on $(HOSTNAME)"
>
> Gives me either "$(HOSTNAME)" or empty - maybe someone knows how to escape it properly to get it interpreted on the worker, returning the actual name ?
>
> Best
> christoph
>
> --
> Christoph Beyer
> DESY Hamburg
> IT-Department
>
> Notkestr. 85
> Building 02b, Room 009
> 22607 Hamburg
>
> phone:+49-(0)40-8998-2317
> mail: christoph.beyer@xxxxxxx
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/