CADS_COLE@GALLUA.BITNET ("Kevin Cole at Gallaudet U. Washington DC") (05/12/88)
Rick Millhollin of University of Oregon (RICKM@OREGON) writes: >We are moving from a DEC-10 to a VAX, and the former had a nice option on >the COPY command to expand tabs in a file into spaces. There doesn't seem >to be any way to do this using VMS commands. Have we just missed it? If >not, does anybody out there have a program to do this, or know of one on >the DECUS tapes? Just grab yourself a copy of the Kernighan & Ritchie bible (The C Programming Language) and read through Chapter 1... As I recall, it was a rather trivial program to write. And if you don't have a C compiler, you should still be able to put something together in your favorite language in a matter of hours. (I suspect there are probably very sophisticated programs of this sort running around. So if you happen to hear of something with all the bells and whistles of the DEC-10 TYPE command, let me know.) ------------------------------------------------------------------------------- Kevin Cole <Flatline> BITNET: KJCOLE@GALLUA.BITNET Center for Assessment and or Demographic Studies (CADS) CADS_COLE@GALLUA.BITNET Gallaudet Research Institute (GRI) UUCP: ...!psuvax!gallua.bitnet!kjcole Gallaudet University CompuServe: 76167,1406 Washington, D.C. 20002 (202) 651-5575 "Hey Rocky! Watch me pull a rabbit out of my hat!"
u3369429@ucsvc.unimelb.edu.au (Michael Bednarek) (05/17/88)
In article <8805160522.AA09789@ucbvax.Berkeley.EDU>, CADS_COLE@GALLUA.BITNET ("Kevin Cole at Gallaudet U. Washington DC") writes: > Rick Millhollin of University of Oregon (RICKM@OREGON) writes: > >> [asking for a COPY command which will expand TABs into SPaces] > > [suggests to roll your own] (I never saw the referenced article [RICKM@OREGON]. Are some articles getting lost on their way Down Under?) I wrote a pair of command procedures which employ TPU to convert TABs <-> SPaces: DETAB and TAB_IT . I published them some time ago in this group. Drop me a line if you want it. Be warned, though, that DETABing large files may result in infinite loops (TPU's fault, not mine). -- Michael Bednarek, Institute of Applied Economic and Social Research (IAESR) // Melbourne University,Parkville 3052, AUSTRALIA, Phone:+61 3 344 5744 \X/ Domain:u3369429@{murdu.oz.au | ucsvc.dn.mu.oz.au} | mb@munnari.oz.au "bang":...UUNET!munnari!murdu!u3369429 PSI%23343000301::U3369429 "POST NO BILLS."