• 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: Trailing LFs in shell scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trailing LFs in shell scripts


  • Subject: Re: Trailing LFs in shell scripts
  • From: Philip Aker <email@hidden>
  • Date: Wed, 20 Nov 2002 00:27:59 -0800

On Tuesday, Nov 19, 2002, at 19:15 US/Pacific, John W Baxter wrote:

Not tacking a trailing newline onto the last "line" in a file is a great way to have that line missed. (In a far wider context than old Perl versions ;-))

Yeah, imagine if we had to end all our emails or scripts with a period on a line by itself followed by a newline. Same ol' tradeoff though--kinda difficult for a daemon-like process to tell when it's received meaningful input unless there is some delimiter convention.

EOF
.
^Z


Philip Aker
http://www.aker.ca
_______________________________________________
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: Trailing LFs in shell scripts (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: RegEx & Concordances
  • Next by Date: Execute script code in email body
  • Previous by thread: Re: Trailing LFs in shell scripts
  • Next by thread: Re: Trailing LFs in shell scripts
  • Index(es):
    • Date
    • Thread