• 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
Escaped tab character in shell (sed)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Escaped tab character in shell (sed)


  • Subject: Escaped tab character in shell (sed)
  • From: Gnarlodious <email@hidden>
  • Date: Fri, 16 Jan 2004 17:27:56 -0700

How would I specify the tab character by escaping rather than using the
literal tab?

This works, where the white run is a tab character:
do shell script "sed 's/ //' "


But this doesn9t:
do shell script "sed 's/\\^t//' "

Nothing so far works, what am I doing wrong?

-- Gnarlie
_______________________________________________
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.

  • Follow-Ups:
    • Re: Escaped tab character in shell (sed)
      • From: BJ Terry <email@hidden>
  • Prev by Date: Egg Timer Question
  • Next by Date: Confusion says what? (was Re: Script expects quoted text mystery)
  • Previous by thread: Re: Egg Timer Question
  • Next by thread: Re: Escaped tab character in shell (sed)
  • Index(es):
    • Date
    • Thread