• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Escape URL characters for shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escape URL characters for shell


  • Subject: Re: Escape URL characters for shell
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 01 Mar 2004 23:04:17 -0700

Entity Christopher Nebel spoke thus:

> echo foo/bar | sed -e 's|/|X|'
> --> fooXbar
>
> Since "/" isn't the delimiter character, you don't have to escape it.

This had been working for some URL's, but some contain "&" which is a
variablename in sed.
In Terminal, "&" in a sed holdspace appears to parse out the string by an as
yet unlearned mechanism. I'm asking about it on a UNIX forum (those Linux
people are smart).

-- Gnarlie
http://www.Spectrumology.com
Spectrumology is the science of chaos.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Escape URL characters for shell (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Auto field fill-in for Safari?
  • Next by Date: Re: File path info
  • Previous by thread: Re: Escape URL characters for shell
  • Next by thread: RE: InformationWindow: How do I get info from ...
  • Index(es):
    • Date
    • Thread