Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to add a new URL via command line ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Freddie  
View profile  
 More options Dec 2 2010, 7:56 am
From: Freddie <marianospiegelb...@googlemail.com>
Date: Thu, 2 Dec 2010 04:56:28 -0800 (PST)
Local: Thurs, Dec 2 2010 7:56 am
Subject: How to add a new URL via command line ?
Hi,

I use curn.bat on windows and want to call the curn-read via command
shell. I want to change the URL via command line parameter and not
directly via URL-TAG in config file. How can I do this ?

Thanks for reply !

Cheers,
Freddie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Clapper  
View profile  
 More options Dec 2 2010, 9:05 am
From: Brian Clapper <b...@clapper.org>
Date: Thu, 02 Dec 2010 09:05:06 -0500
Local: Thurs, Dec 2 2010 9:05 am
Subject: Re: [curn-users] How to add a new URL via command line ?
On 12/2/10 7:56 AM, Freddie wrote:

> Hi,

> I use curn.bat on windows and want to call the curn-read via command
> shell. I want to change the URL via command line parameter and not
> directly via URL-TAG in config file. How can I do this ?

> Thanks for reply !

It is not possible to do what you want. The only way to configure the URLs curn
reads is via the configuration file.

It's certainly possible to write a script that modifies the contents of the
configuration file, but curn, itself, does not support that capability.
--
-Brian

Brian Clapper, http://www.clapper.org/bmc/
Illinois isn't exactly the land that God forgot -- it's more like the
land He's trying to ignore.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Freddie  
View profile  
 More options Dec 2 2010, 9:22 am
From: Freddie <marianospiegelb...@googlemail.com>
Date: Thu, 2 Dec 2010 06:22:03 -0800 (PST)
Local: Thurs, Dec 2 2010 9:22 am
Subject: Re: How to add a new URL via command line ?
Thanks for reply !

What a pity.... but maybe is there a way to set the url via file, e.g.
"URL://${program:cwd}/something.txt" or something like that ?
We try to create a generic changelog for every build of our software.
So I guess the editting of this config is not the best generic way...
So maybe there is a way to get enviroment variables to set the URL ?

Freddie

On 2 Dez., 15:05, Brian Clapper <b...@clapper.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Clapper  
View profile  
 More options Dec 2 2010, 9:31 am
From: Brian Clapper <b...@clapper.org>
Date: Thu, 02 Dec 2010 09:31:45 -0500
Local: Thurs, Dec 2 2010 9:31 am
Subject: Re: [curn-users] Re: How to add a new URL via command line ?
On 12/2/10 9:22 AM, Freddie wrote:

> Thanks for reply !

> What a pity.... but maybe is there a way to set the url via file, e.g.
> "URL://${program:cwd}/something.txt" or something like that ?
> We try to create a generic changelog for every build of our software.
> So I guess the editting of this config is not the best generic way...
> So maybe there is a way to get enviroment variables to set the URL ?

Yes, you can use an environment variable, e.g.:

URL: ${env:CURN_URL}
--
-Brian

Brian Clapper, http://www.clapper.org/bmc/
An infinite number of mathematicians walk into a bar. The first one orders
a beer. The second orders half a beer. The third, a quarter of a beer. The
bartender says "You're all idiots", and pours two beers.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Freddie  
View profile  
 More options Dec 2 2010, 9:37 am
From: Freddie <marianospiegelb...@googlemail.com>
Date: Thu, 2 Dec 2010 06:37:42 -0800 (PST)
Local: Thurs, Dec 2 2010 9:37 am
Subject: Re: How to add a new URL via command line ?
Cool thing... I try it immediately.. thanks !

On 2 Dez., 15:31, Brian Clapper <b...@clapper.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »