Fixed length records: Difference between revisions

→‎{{header|J}}: Fix misunderstanding of specs
(→‎{{header|J}}: Fix misunderstanding of specs)
Line 346:
<lang j> _80 ]\ fread 'flr-infile.dat' NB. reads the file into a n by 80 array
_80 |.\ fread 'flr-infile.dat' NB. as above but reverses each 80 byte chunk
'flr-outfile.dat' fwritesfwrite~ , _80 |.\ fread 'flr-infile.dat' NB. as above but writes result separated by newline chars to file (729720 bytes)</lang>
 
=={{header|jq}}==
892

edits