Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Pipe to Safari from stdin' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Pipe to Safari from stdin
Authored by: xSmurf on Dec 02, '05 01:17:13PM
I've wrote a quick script to address the issue, allows you to preview in any browse and set the extension to what ever you want... It over there:

http://forums.macosxhints.com/showthread.php?p=252816

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

Pipe to Safari from stdin
Authored by: xSmurf on Dec 03, '05 10:27:25AM
If this is a bug, I hope they don't fix it. It is truly an undocumented feature

Not exactly... man open reports:
-f Reads input from standard input and opens the results in the default text editor. End input by sending EOF character (type Control-D). Also useful for piping output to open and having it open in the default text editor.

"ls | open -f" writes the output of the 'ls' command to a file in /tmp and opens the file in the default text editor (as determined by Launch-Services).

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

Pipe to Safari from stdin
Authored by: jacobolus on Feb 15, '06 05:23:22PM
Did you read the hint?
…The -f parameter says that the open command will open the default text editor from stdin.…


[ Reply to This | # ]