Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Insheet Command Problem


From   Richard Herron <richard.c.herron@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Insheet Command Problem
Date   Thu, 14 Jun 2012 17:56:59 -0400

If you just want to view the line, you may have an easier time with vi
than awk (both are *nix programs, not Stata commands). Open the
terminal and type

vi ~/path/to/file.txt +4508598

This should open your file in vi with the cursor on the offending line.

Richard Herron


On Thu, Jun 14, 2012 at 5:44 PM, Davia Downey <downeyd@gvsu.edu> wrote:
> I'm not familiar with that command. Is it Mac compatible or do you know where I can find documentation on using it?
>
> Sent from my iPad
>
> On Jun 14, 2012, at 5:40 PM, "Richard Herron" <richard.c.herron@gmail.com> wrote:
>
>> Can TextEdit handle this many lines? If not, I would try vi in the command line.
>>
>> Richard Herron
>>
>>
>> On Thu, Jun 14, 2012 at 5:20 PM, Davia Downey <downeyd@gvsu.edu> wrote:
>>> When I have TextEdit look for the line 4508597 it says it's an invalid
>>> line number. Is there a way I can rearrange the file in text edit in order
>>> to read each line separately?
>>>
>>> Davia Cox Downey
>>> Assistant Professor of Public Administration
>>> School of Public, Nonprofit &
>>> Health Administration
>>> Grand Valley State University
>>>
>>>
>>>
>>> 242C DeVos Center
>>> 401 West Fulton Street
>>> Grand Rapids, MI  49504Email: downeyd@gvsu.edu
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 6/14/12 5:01 PM, "Richard Herron" <richard.c.herron@gmail.com> wrote:
>>>
>>>> 4508597
>>>
>>>
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index