Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by wyufro

2 months ago

It doesn't pass the file contents at all, it passes the file path.

1 comment

wyufro

Reply

kbolino  2 months ago

Yep, this is a common misunderstanding, and the blog post itself repeats it.

The only way to "pass the file contents" would be through the standard input stream, but the script might want to use stdin like normal, so this isn't an option.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities