Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: Insheet Command Problem


From   Richard Herron <[email protected]>
To   [email protected]
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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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: [email protected]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 6/14/12 5:01 PM, "Richard Herron" <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index