[platypus-dev] Re: Demos for v5.1

  • From: Amer Neely <trudge@xxxxxxxxxxxxxx>
  • To: platypus-dev@xxxxxxxxxxxxx
  • Date: Tue, 26 Jul 2016 21:54:24 -0400

On 2016-07-26 9:17 PM, BC wrote:

I've read that forward slashes in a script may cause problems,
and that one line uses it:

INPUT=`cat /dev/stdin`

That syntax is correct and the script does run outside of
Platypus.  I may just have to break down and ask Sveinbjorn.

I'm very comfortable with the command line.  ("In the Beginning
was the Command Line") So my primary interest in Platypus is for
distributing some of my Perl utilities for easy use by other Mac
users.  But I have to admit that being able to write my own
Services menu items in Perl looks like it would be a very useful
hack.

...BC


Yes you're right. I was able to get it to work as well piping a quoted
line to it...

~/Desktop user: echo "1 2 3 4 5" | getinput.sh
ALERT:       5 words

Very interested to see what you find out if you contact Sveinbjorn.

Perhaps combining Perl with Platypus & Pashua would work? I've used both
with good results.

-- 
Amer Neely 
MouthBreather <http://www.softouch.on.ca>

Attachment: 0x1540A6E1.asc
Description: application/pgp-keys

Other related posts: