Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Dashes vs slashes in a oneliner

by robartes (Priest)
on Jan 30, 2003 at 19:00 UTC ( #231411=note: print w/ replies, xml ) Need Help??


in reply to Dashes vs slashes in a oneliner

Not going into the fact that there are probably a lot of ways to do this differently (this way, you are launching three processes to do a simple substition in a file), I hazard a guess that `uname -n` is returning a string that contains a dash, whereas it did not before. Unfortunately, if that's the problem, you are pretty much obliged to change the scripts...

CU
Robartes-


Comment on Re: Dashes vs slashes in a oneliner
Replies are listed 'Best First'.
Re: Re: Dashes vs slashes in a oneliner
by dragonchild (Archbishop) on Jan 30, 2003 at 19:21 UTC
    Personally, I'd go ahead and make sure every hostname on my network didn't have a '-', then make that a requirement for anyone using my ...

    Ooops. Wrong forum. I thought I was on Evilmonks.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Re: Re: Dashes vs slashes in a oneliner
by Rex(Wrecks) (Curate) on Jan 30, 2003 at 19:18 UTC
    Heh, not really. Since the machine is mine, I just change the hostname :)

    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://231411]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-07-29 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls