If you read in the file and replace LF with blanks you get the stuff on a long line
2010/1/13 a b <[email protected]>: > I am converting a C application to J. The C app has a lot of data declared > in arrays. I would like to cut and paste this stuff. The problem is, the C > stuff is structured like this: > > int array[] = {0,1,2,3... > 4,5,6,7... > 8,9,10,11...} > > This goes on for hundreds of lines. My cutting and pasting like this doesn't > work: > > array =: 0 1 2 3... > 4 5 6 7... > 8 9 10 11... > > I would like to do a "line continuation" at the end of every line but have no > idea how to do it. I searched the literature for a couple hours but didn't > find anything. > > Is this possible? > > Thanks. > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði Po Box 127,801 Selfoss , t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
