Ticket #358 (closed feature: invalid)

Opened 9 months ago

Last modified 9 months ago

Add Way to Read in Text Files

Reported by: jresig Assigned to: dherman
Type: feature Priority: major
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description

A simple way to load text files would be incredibly useful, like in the following:

  var contents = intrinsic::readFile("some.txt");

Attachments

Change History

Changed 9 months ago by dherman

  • status changed from new to closed
  • resolution set to invalid

As it turns out, this is already implemented in Shell.es exactly as you requested it. It's

intrinsic::readFile

Changed 9 months ago by jresig

Huh - I must've completely missed that commit - sweet!

Note: See TracTickets for help on using tickets.