From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9400,62951c700994df34 X-Google-Attributes: gidf9400,public X-Google-Thread: 107393,62951c700994df34 X-Google-Attributes: gid107393,public X-Google-Thread: fee84,62951c700994df34 X-Google-Attributes: gidfee84,public From: bvaughan@sheps.Princeton.EDU (Barbara Vaughan) Subject: Re: Unix editors w/features for dealing with columnar data? Date: 1995/05/01 Message-ID: <3o2umo$g9m@cnn.Princeton.EDU>#1/1 X-Deja-AN: 101876972 distribution: inet sender: bvaughan@sheps (Barbara Vaughan) references: <3nr6nl$cak@news.iastate.edu> organization: Princeton University newsgroups: comp.editors,comp.os.ultrix,comp.unix.osf.osf1 In article <3nr6nl$cak@news.iastate.edu>, cfrandal@iastate.edu (Charles F Randall) writes: |> We're moving a large numbers of users from a mainframe environment to |> Unix. Some of them have large data files which can be described in the |> following manner: (trivial example) |> |> Columns Description |> ------- ----------- |> 1-4 id number |> 5-24 name |> 25-30 dat1 |> 30-35 dat2 |> ... etc |> |> In essence, they've got what I call fixed column data. (not whitespace |> separated - I'm mainframe-challenged, sorry for the wording) They're |> used to using Stanford Wylbur (not the same as some commercial Wylbur |> implementations) to do their editing tasks. |> |> They do things like: |> |> Find the lines that have '1234' in columns 1-4 and change |> columns 30-35 to 'abcdef'. [other examples deleted] |> |> Is anyone familiar with an editor in the Unix environment with extensive |> columnar manipulation features like this? There are several Unix clones of the IBM CMS XEDIT editor, which has column editing features such as these. (I can't swear that it has all of them). One of these clones is called Uni-Xedit, which is a commercial product. The other is a free program whose name escapes me(THE?). Both editors are mentioned in the comp.editors FAQ, but I have no personal experience of either. When I first moved to Unix and was given the task of bringing all the other mainframe users along with me, I thought that the lack of such an editor would be a major stumbling block. However, I found that editors such as joe, which has some column editing features, although not as command driven as mainframe editors, quickly filled the gap and soon became preferable. Now on those rare occasions that I have to use CMS, I find myself wishing for joe or some other Unix editor. The need you have now may be transitory. Barbara Vaughan