Created
December 3, 2009 22:27
-
-
Save angerman/248618 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-random-access-reader "/Users/angerman/upps.data.model" | |
(println (next-line)) ;; first line | |
(println (next-line)) ;; second line | |
(save-excursion | |
(println (subs (last (lazy-rest)) 0 20))) ;; last line's first 20 char | |
(println (next-line)) ;; third line | |
(println (subs (last (lazy-rest)) 0 20))) ;; last lines first 20 char |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment