home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!mips!decwrl!csus.edu!sfsuvax1.sfsu.edu!eburk
- From: eburk@sfsuvax1.sfsu.edu (Eli Burk)
- Subject: when paste is not enough
- Message-ID: <1992Jul26.013640.14341@csus.edu>
- Originator: eburk@sfsuvax1.sfsu.edu
- Sender: news@csus.edu
- Organization: California State University, Sacramento
- Date: Sun, 26 Jul 1992 01:36:40 GMT
- Lines: 20
-
- as an example: i have a file with the numbers 1-10 each on a line
- i want to print out
- 1 4 7
- 2 5 8
- 3 6 9
- 10
-
- 1) Is there a single unix command that lets me do this?
- 2) Is there a kludge that is less than a line that can do this?
-
- Also: i'd like the flexibility of paste (i.e. "paste - - -") too
- too - but I'll take what I can get.
-
- ** email please **
-
- --
- :----------- eli burk
- :----------- p.o. box 22135
- :----------- san francisco, ca 94122
- eburk@futon.sfsu.edu -or- eburk@sutro.sfsu.edu -or- eburk@sfsuvax1.sfsu.edu
-