• 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: Merge all names into 1 file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Merge all names into 1 file


  • Subject: Re: Merge all names into 1 file
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 6 Nov 2006 12:53:58 -0500

                           cat file1 file2 file3 ... | tr '\015'
'\012' | sort -u

Er, that should be all one command. From AS:

do shell script "cat " & (quoted form of POSIX path of file1) & " " &
(quoted form of POSIX path of file2) & " " & ... & (quoted form of
POSIX path of file7) & "| tr '\015' '\012' | sort -u >" & (quoted form
of POSIX path of resultFile)

--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Merge all names into 1 file (From: "Mark J. Reed" <email@hidden>)
 >Re: Merge all names into 1 file (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Merge all names into 1 file
  • Next by Date: Re: setting file/folder icon by AS ?
  • Previous by thread: Re: Merge all names into 1 file
  • Next by thread: Re: Merge all names into 1 file
  • Index(es):
    • Date
    • Thread