Quantcast

Re: [sqlite-dev] End-of-line characters in the output of ".dump"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [sqlite-dev] End-of-line characters in the output of ".dump"

Richard Hipp-3
On 3/11/17, James K. Lowden <[hidden email]> wrote:
> On Sat, 11 Mar 2017 08:50:49 -0500
> Richard Hipp <[hidden email]> wrote:
>
>> The SQLite CLI could be improved to be cleaner about this, but it
>> depends on external utilities such as readline() or linenoise()
>
> Could you expand on that a bit, please?

Readline() strips \n and \r from the end of each input line, does it
not?  How is SQLite suppose to know if it was just a \n that was
stripped or both a \n and a \r?
--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Loading...