Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It's great to be smart 'cause then you know stuff.


devel / comp.lang.c / Re: Export csv from Excel file

SubjectAuthor
* Export csv from Excel fileAdaMagica
+- Re: Export csv from Excel fileÖö Tiib
+* Re: Export csv from Excel fileDavid Brown
|`* Re: Export csv from Excel fileMalcolm McLean
| `* Re: Export csv from Excel fileAdaMagica
|  `* Re: Export csv from Excel fileDavid Brown
|   +- Re: Export csv from Excel fileKenny McCormack
|   `* Re: Export csv from Excel fileKeith Thompson
|    `- Re: Export csv from Excel fileDavid Brown
+* Re: Export csv from Excel fileJack
|+* Re: Export csv from Excel fileScott Lurndal
||+* Re: Export csv from Excel fileKenny McCormack
|||`* Re: Export csv from Excel fileKaz Kylheku
||| `* Re: Export csv from Excel fileDavid Brown
|||  +* Re: Export csv from Excel fileChris M. Thomasson
|||  |`- Re: Export csv from Excel fileDavid Brown
|||  `- Re: Export csv from Excel filePhil Carmody
||`* Re: Export csv from Excel fileJack
|| +- Re: Export csv from Excel fileJack
|| +- Re: Export csv from Excel fileChris M. Thomasson
|| `* Re: Export csv from Excel fileScott Lurndal
||  +* Re: Export csv from Excel fileKenny McCormack
||  |`* Re: Export csv from Excel fileÖö Tiib
||  | `* Re: Export csv from Excel fileKenny McCormack
||  |  `* Re: Export csv from Excel fileScott Lurndal
||  |   `* Re: Export csv from Excel fileKenny McCormack
||  |    `* Re: Export csv from Excel fileScott Lurndal
||  |     `- Re: Export csv from Excel fileKenny McCormack
||  `* Re: Export csv from Excel fileChris M. Thomasson
||   `* Re: Export csv from Excel fileKenny McCormack
||    `- Re: Export csv from Excel fileEd Prochak
|+* Re: Export csv from Excel fileKaz Kylheku
||`- Re: Export csv from Excel fileChris M. Thomasson
|`* Re: Export csv from Excel fileJorgen Grahn
| `* Re: Export csv from Excel fileJack
|  `* Re: Export csv from Excel fileKaz Kylheku
|   `* Re: Export csv from Excel fileJack
|    +- Re: Export csv from Excel fileDavid Brown
|    +- Re: Export csv from Excel fileKenny McCormack
|    +- Re: Export csv from Excel filePhil Carmody
|    +* Re: Export csv from Excel fileJames Kuyper
|    |`* Re: Export csv from Excel fileJack
|    | `- Re: Export csv from Excel fileJames Kuyper
|    `- Re: Export csv from Excel fileKaz Kylheku
`- Re: Export csv from Excel fileJorgen Grahn

Pages:12
Re: Export csv from Excel file

<Ejx2M.2$i7t3.0@fx08.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25514&group=comp.lang.c#25514

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx08.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Export csv from Excel file
Newsgroups: comp.lang.c
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com> <38ba5c29-9cb9-4238-a353-bb57f6fbc561n@googlegroups.com> <u2e3lr$2u7o0$1@news.xmission.com> <VMw2M.2399981$iS99.1074913@fx16.iad> <u2e5vb$2u7o0$3@news.xmission.com>
Lines: 23
Message-ID: <Ejx2M.2$i7t3.0@fx08.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 27 Apr 2023 16:23:00 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 27 Apr 2023 16:23:00 GMT
X-Received-Bytes: 1559
 by: Scott Lurndal - Thu, 27 Apr 2023 16:23 UTC

gazelle@shell.xmission.com (Kenny McCormack) writes:
>In article <VMw2M.2399981$iS99.1074913@fx16.iad>,
>Scott Lurndal <slp53@pacbell.net> wrote:
>...
>>>(*) Write C# programs to invoke MS Excel from command line on a linux system.
>>>
>>>(**) Or want to.
>>>
>>
>>It is actually _very_ likely that someone would wish to process
>>excel files (xls, xlsx) from linux. It's rather common, which is
>>why openoffice (et alia) have a mechanism from the command line
>>to convert xls/xlsx to csv.
>
>No disagreement there. I do it all the time (with libreoffice).
>
>But aren't you the one who wrote:
>
> Not worth doing on linux systems.
>
>upthread?

Which was obviously referring to the idea of using C#.

Re: Export csv from Excel file

<u2e8hp$2u7o0$4@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25515&group=comp.lang.c#25515

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Thu, 27 Apr 2023 16:40:25 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <u2e8hp$2u7o0$4@news.xmission.com>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com> <VMw2M.2399981$iS99.1074913@fx16.iad> <u2e5vb$2u7o0$3@news.xmission.com> <Ejx2M.2$i7t3.0@fx08.iad>
Injection-Date: Thu, 27 Apr 2023 16:40:25 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3088128"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 27 Apr 2023 16:40 UTC

In article <Ejx2M.2$i7t3.0@fx08.iad>, Scott Lurndal <slp53@pacbell.net> wrote:
>gazelle@shell.xmission.com (Kenny McCormack) writes:
>>In article <VMw2M.2399981$iS99.1074913@fx16.iad>,
>>Scott Lurndal <slp53@pacbell.net> wrote:
>>...
>>>>(*) Write C# programs to invoke MS Excel from command line on a linux system.
>>>>
>>>>(**) Or want to.
>>>>
>>>
>>>It is actually _very_ likely that someone would wish to process
>>>excel files (xls, xlsx) from linux. It's rather common, which is
>>>why openoffice (et alia) have a mechanism from the command line
>>>to convert xls/xlsx to csv.
>>
>>No disagreement there. I do it all the time (with libreoffice).
>>
>>But aren't you the one who wrote:
>>
>> Not worth doing on linux systems.
>>
>>upthread?
>
>Which was obviously referring to the idea of using C#.

OK. So despite all the kerfluffle, we are in agreement that while it is
useful to be able to process Excel files under Linux, you wouldn't want to
use C# to do it.

(Unles, of course, you really like C#...)

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Security

Re: Export csv from Excel file

<u2emai$22mkk$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25518&group=comp.lang.c#25518

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Thu, 27 Apr 2023 13:35:29 -0700
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <u2emai$22mkk$2@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team> <YUf2M.1521896$t5W7.952325@fx13.iad>
<u2ckko$1aab4$1@paganini.bofh.team> <tcu2M.298114$0XR7.54761@fx07.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 27 Apr 2023 20:35:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1e25cf2fc10f7d8b04e945246b5b4f82";
logging-data="2185876"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gl45unI9+2x6s47iBKYxjd23Qc71g4Hc="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:gwRMi5ZFH0aJurTfCo6PvKLw7Eo=
Content-Language: en-US
In-Reply-To: <tcu2M.298114$0XR7.54761@fx07.iad>
 by: Chris M. Thomasson - Thu, 27 Apr 2023 20:35 UTC

On 4/27/2023 5:50 AM, Scott Lurndal wrote:
> Jack <invalid@invalid.net> writes:
>> On 26/04/2023 21:34, Scott Lurndal wrote:
>>> Jack <invalid@invalid.net> writes:
>>>> On 24/04/2023 10:51, AdaMagica wrote:
>>>>> Is there a C interface to export the csv format from Excel files xlsx?
>
>>>> In excel, you simply go to:
>>>>
>>>> File >> Save As
>>> How do you do that from the command line or programmatically?
>>>
>> I would use C# if I'm really desperate. See this link:
>
> Not worth doing on linux systems.

Fwiw, I think Mono might be a decent start wrt C# on Linux?

https://www.mono-project.com/docs/about-mono/languages/csharp

Re: Export csv from Excel file

<u2emi9$22mkk$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25520&group=comp.lang.c#25520

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Thu, 27 Apr 2023 13:39:36 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u2emi9$22mkk$3@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team> <YUf2M.1521896$t5W7.952325@fx13.iad>
<u2cgir$2te5h$1@news.xmission.com> <20230426175847.264@kylheku.com>
<u2d9md$1qu77$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 27 Apr 2023 20:39:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1e25cf2fc10f7d8b04e945246b5b4f82";
logging-data="2185876"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UfcRg67LeZqAEpCyEhGvMvo2a1EpfnPg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:QcQIp9tMdzfHbzpLvwGnAQ0A9hc=
In-Reply-To: <u2d9md$1qu77$2@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Thu, 27 Apr 2023 20:39 UTC

On 4/27/2023 12:53 AM, David Brown wrote:
> On 27/04/2023 02:59, Kaz Kylheku wrote:
>> On 2023-04-27, Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>> In article <YUf2M.1521896$t5W7.952325@fx13.iad>,
>>> Scott Lurndal <slp53@pacbell.net> wrote:
>>> ...
>>>>> In excel, you simply go to:
>>>>>
>>>>> File >> Save As
>>>>
>>>> How do you do that from the command line or programmatically?
[...]
> So if this software is to be run on a system where there is no
> particular impediment to installing Libreoffice, then that would be a
> quick and simple way to handle the OP's task.  It is overkill,
> obviously, and Libreoffice is a huge package when you only want to use
> one part of it, but it can save a lot of time and effort.
>

should work. I do remember OpenOffice failing to properly format an old
Word 6 file...

Re: Export csv from Excel file

<u2f1qf$2umi5$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25523&group=comp.lang.c#25523

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Thu, 27 Apr 2023 23:51:43 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <u2f1qf$2umi5$1@news.xmission.com>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com> <u2ckko$1aab4$1@paganini.bofh.team> <tcu2M.298114$0XR7.54761@fx07.iad> <u2emai$22mkk$2@dont-email.me>
Injection-Date: Thu, 27 Apr 2023 23:51:43 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3103301"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Thu, 27 Apr 2023 23:51 UTC

In article <u2emai$22mkk$2@dont-email.me>,
Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
....
>> Not worth doing on linux systems.
>
>Fwiw, I think Mono might be a decent start wrt C# on Linux?

Yes, everybody knows about Mono (*) and that you *could* do .NET stuff on
Linux (if you really were so bent). We're just arguing that it is not
worth it. In fact, it falls into the general category of "Things that are
not worth it".

(*) Though, why they named the package after a commonly known disease, I'm
not sure...

--
The difference between communism and capitalism?
In capitalism, man exploits man. In communism, it's the other way around.

- Daniel Bell, The End of Ideology (1960) -

Re: Export csv from Excel file

<u2ghio$2ejus$6@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25527&group=comp.lang.c#25527

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Fri, 28 Apr 2023 15:26:48 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <u2ghio$2ejus$6@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team> <YUf2M.1521896$t5W7.952325@fx13.iad>
<u2cgir$2te5h$1@news.xmission.com> <20230426175847.264@kylheku.com>
<u2d9md$1qu77$2@dont-email.me> <u2emi9$22mkk$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Apr 2023 13:26:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3d1097169b2902b2a75ddccb5ac1bd12";
logging-data="2576348"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+J41Nm0ZCNcIbcmyV72aNEqwWN3i3enjg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:JDJ2Bi7uqAjhkDJAj6jFRvhtDcg=
In-Reply-To: <u2emi9$22mkk$3@dont-email.me>
Content-Language: en-GB
 by: David Brown - Fri, 28 Apr 2023 13:26 UTC

On 27/04/2023 22:39, Chris M. Thomasson wrote:
> On 4/27/2023 12:53 AM, David Brown wrote:
>> On 27/04/2023 02:59, Kaz Kylheku wrote:
>>> On 2023-04-27, Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>>> In article <YUf2M.1521896$t5W7.952325@fx13.iad>,
>>>> Scott Lurndal <slp53@pacbell.net> wrote:
>>>> ...
>>>>>> In excel, you simply go to:
>>>>>>
>>>>>> File >> Save As
>>>>>
>>>>> How do you do that from the command line or programmatically?
> [...]
>> So if this software is to be run on a system where there is no
>> particular impediment to installing Libreoffice, then that would be a
>> quick and simple way to handle the OP's task.  It is overkill,
>> obviously, and Libreoffice is a huge package when you only want to use
>> one part of it, but it can save a lot of time and effort.
>>
>
> should work. I do remember OpenOffice failing to properly format an old
> Word 6 file...

This is getting really off topic, but "genuine" OpenOffice has never
been anywhere near as good at handling MS Office files as LibreOffice
(and its predecessor forks of OpenOffice). I've used LibreOffice to
handle xlsx files made by old Excel versions that new Excel versions
failed to open - simply opening the file in LibreOffice then saving it
again as xlsx made a file newer Excel could handle.

Re: Export csv from Excel file

<ee7a40ae-d6a0-406f-a528-e02079138f0fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25534&group=comp.lang.c#25534

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ac8:5743:0:b0:3ef:41f6:ee0 with SMTP id 3-20020ac85743000000b003ef41f60ee0mr1742769qtx.1.1682706294637;
Fri, 28 Apr 2023 11:24:54 -0700 (PDT)
X-Received: by 2002:a05:622a:1a21:b0:3ee:be98:9fd5 with SMTP id
f33-20020a05622a1a2100b003eebe989fd5mr2136737qtb.2.1682706294450; Fri, 28 Apr
2023 11:24:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Fri, 28 Apr 2023 11:24:54 -0700 (PDT)
In-Reply-To: <u2f1qf$2umi5$1@news.xmission.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:5f82:5000:545a:2982:9d74:ecff;
posting-account=3ty6FAkAAACYEfch20jQ1ZACFatw-Vdx
NNTP-Posting-Host: 2600:1700:5f82:5000:545a:2982:9d74:ecff
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2ckko$1aab4$1@paganini.bofh.team> <tcu2M.298114$0XR7.54761@fx07.iad>
<u2emai$22mkk$2@dont-email.me> <u2f1qf$2umi5$1@news.xmission.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ee7a40ae-d6a0-406f-a528-e02079138f0fn@googlegroups.com>
Subject: Re: Export csv from Excel file
From: edproc...@gmail.com (Ed Prochak)
Injection-Date: Fri, 28 Apr 2023 18:24:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: Ed Prochak - Fri, 28 Apr 2023 18:24 UTC

On Thursday, April 27, 2023 at 7:51:58 PM UTC-4, Kenny McCormack wrote:
> In article <u2emai$22mkk$2...@dont-email.me>,
> Chris M. Thomasson <chris.m.t...@gmail.com> wrote:
> ...
> >> Not worth doing on linux systems.
> >
> >Fwiw, I think Mono might be a decent start wrt C# on Linux?
> Yes, everybody knows about Mono (*) and that you *could* do .NET stuff on
> Linux (if you really were so bent). We're just arguing that it is not
> worth it. In fact, it falls into the general category of "Things that are
> not worth it".

It is worth it if you are not programming for a GUI desktop environment.
It provides nice options in an embedded systems platform.
>
> (*) Though, why they named the package after a commonly known disease, I'm
> not sure...
>
> --
> The difference between communism and capitalism?
> In capitalism, man exploits man. In communism, it's the other way around.
>
> - Daniel Bell, The End of Ideology (1960) -

Nice sig BTW!

Enjoy,
Ed

Re: Export csv from Excel file

<87pm7ngien.fsf@zotaspaz.fatphil.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25544&group=comp.lang.c#25544

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Sat, 29 Apr 2023 12:13:52 +0300
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <87pm7ngien.fsf@zotaspaz.fatphil.org>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<YUf2M.1521896$t5W7.952325@fx13.iad>
<u2cgir$2te5h$1@news.xmission.com> <20230426175847.264@kylheku.com>
<u2d9md$1qu77$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="859a5ea85f8f93972233760cd0bb777d";
logging-data="3054366"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EQ2F/SL2MfWL13bPB7RsI"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:RUnRUx94vdVCVIUDRNLKGw6h1NQ=
sha1:QNcQe7v/ceq5fxb46FSZUBrDLPw=
 by: Phil Carmody - Sat, 29 Apr 2023 09:13 UTC

David Brown <david.brown@hesbynett.no> writes:
> On 27/04/2023 02:59, Kaz Kylheku wrote:
>> On 2023-04-27, Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>> In article <YUf2M.1521896$t5W7.952325@fx13.iad>,
>>> Scott Lurndal <slp53@pacbell.net> wrote:
>>> ...
>>>>> In excel, you simply go to:
>>>>>
>>>>> File >> Save As
>>>>
>>>> How do you do that from the command line or programmatically?
>>>>
>>>
>>> With COM (or whatever COM has evolved into/been renamed to lately).
>>> (I used to do this all the time using COM)
>>>
>>> Or with a macro.
>>>
>>> (All of this off-topic in CLC, of course)
>>
>> It's not as simple as starting Excel with some command line aguments
>> which make it do the job, such that it then quits when it's done the
>> job.
>
> I don't imagine Excel can do this sort of thing by command line - it's
> just not the kind of thing their target users would need. And
> automation via COM (or its descendants) has its complications too,
> such as permissions. (That's a good thing - MS Office programs used
> to be happy to let any old piece of malware abuse them into sending
> out spam or doing other nasty stuff.)
>
> Libreoffice, on the other hand, /is/ designed to be useable headless
> from the command line, amongst other things for conveniently
> converting formats.

I need this kind of thing often enough I've even made it an alias in my shell:

alias d2p='soffice --headless --convert-to pdf'

"""
--headless Starts in "headless mode" which allows using the
application without GUI. This special mode can
be used when the application is controlled by
external clients via the API.
"""

I presume xls to csv is equally simple.

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: Export csv from Excel file

<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25560&group=comp.lang.c#25560

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grahn+n...@snipabacken.se (Jorgen Grahn)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: 1 May 2023 21:07:33 GMT
Lines: 24
Message-ID: <slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
X-Trace: individual.net u6tKd1/jN49Anp4NNATIwA+5EJfBcfQ4yXVuRnW81nIJh5n+cO
Cancel-Lock: sha1:CskJ3UXD1LkDYALXpKbGJnwygNc=
User-Agent: slrn/1.0.3 (OpenBSD)
 by: Jorgen Grahn - Mon, 1 May 2023 21:07 UTC

On Wed, 2023-04-26, Jack wrote:
> On 24/04/2023 10:51, AdaMagica wrote:
>> Is there a C interface to export the csv format from Excel files xlsx?
>>
>>
>
> Just out of interest why do you need to do this when excel can do it for
> you automatically.
>
> I am assuming the users have access to Excel on their machine otherwise
> they won't be talking about .csv and .xlsx file system. Even if they
> don't have excel, they must be using some other free products such as
> LibreOffice or OpenOffice. These too can create .csv files.

This is an incorrect assumption. For example, I've had to massage
data from an online database (artportalen.se). Its export is an xlsx
file. This doesn't mean I have, or desire to have, any of that
software anywhere near my machines.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

Re: Export csv from Excel file

<slrnu50b5a.1bil.grahn+nntp@frailea.sa.invalid>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25561&group=comp.lang.c#25561

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grahn+n...@snipabacken.se (Jorgen Grahn)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: 1 May 2023 21:18:34 GMT
Lines: 28
Message-ID: <slrnu50b5a.1bil.grahn+nntp@frailea.sa.invalid>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
X-Trace: individual.net 8UWVEWOBEHq7LhAbXKN4iAp4n3avdWMH3cTMNUvb+lQrB/Lw5X
Cancel-Lock: sha1:GVFs+YcPC90X8UzzgJwc3yoNowY=
User-Agent: slrn/1.0.3 (OpenBSD)
 by: Jorgen Grahn - Mon, 1 May 2023 21:18 UTC

On Mon, 2023-04-24, AdaMagica wrote:
> Is there a C interface to export the csv format from Excel files xlsx?
>
> Background: I have a code generator that produces code from a csv
> file. The instructions in fact are coded in xlsx format, and I have
> to manually export this to csv before running the code generator. I
> want to automate this manual step by including it in the code
> generator.

I have had success with the strategy I used for this:

https://github.com/kjgrahn/etiketter

It worked well only because the Excel files I'm concerned with are
stable, both wrt version (Excel 2007+) and data content. And it let
me skip the CSV intermediate step (CSV is fine for pure numerical
data, but sucks when you have to figure out quoting, detect separator
characters and so on).

etiketter uses libarchive (an excellent library!) and libxml2 (an
unavoidable library) for the parsing, but it's otherwise written in
C++ rather than C. I think it illustrates the ideas anyway.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

Re: Export csv from Excel file

<u2pc9s$389ni$1@paganini.bofh.team>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25562&group=comp.lang.c#25562

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: inva...@invalid.net (Jack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Mon, 1 May 2023 23:00:00 +0100
Organization: To protect and to server
Message-ID: <u2pc9s$389ni$1@paganini.bofh.team>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 1 May 2023 21:51:56 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3417842"; posting-host="lvwnlrZOTyXOUFTBTyWy3g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:/+QTMlZRgFDipYeqm18FmiwE04yEpER/n5fW+AhGsCY=
X-Notice: Filtered by postfilter v. 0.9.3
Content-Language: en-CA
 by: Jack - Mon, 1 May 2023 22:00 UTC

On 01/05/2023 22:07, Jorgen Grahn wrote:
> This is an incorrect assumption. For example, I've had to massage
> data from an online database (artportalen.se). Its export is an xlsx
> file. This doesn't mean I have, or desire to have, any of that
> software anywhere near my machines.
>
>
>

Databases are normally exported as sql files, or in rare instances .csv
format files (but this requires some work from the user to happen e.g
writing a program to retrieve the data using sql). Please give us the
name of which online database is exporting as xlsx file and no other
formats. The DB must be something people have not heard of.

To retrieve data from the database requires the use of sql statements
and the user can decide the format of the data - usually sql files
or csv files.

Re: Export csv from Excel file

<20230501173129.65@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25563&group=comp.lang.c#25563

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 00:33:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <20230501173129.65@kylheku.com>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team>
Injection-Date: Tue, 2 May 2023 00:33:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="88fbb9f215f4675476e471ed9ed42f19";
logging-data="459284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yhfX4rYnZW9Ae4yfsQGk/98q9xo0W3Cs="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:MQ9CE2X9gil5w4vLn/DkOeHRbGQ=
 by: Kaz Kylheku - Tue, 2 May 2023 00:33 UTC

On 2023-05-01, Jack <invalid@invalid.net> wrote:
> On 01/05/2023 22:07, Jorgen Grahn wrote:
>> This is an incorrect assumption. For example, I've had to massage
>> data from an online database (artportalen.se). Its export is an xlsx
>> file. This doesn't mean I have, or desire to have, any of that
>> software anywhere near my machines.
>
> Databases are normally exported as sql files, or in rare instances .csv
> format files (but this requires some work from the user to happen e.g
> writing a program to retrieve the data using sql). Please give us the

What you can download from an online database is basically what
its web front-end provides/allows. You don't get to run SQL queries
against the underlying server.

> name of which online database is exporting as xlsx file and no other
> formats. The DB must be something people have not heard of.

It's right there: artportalen.se. Can you figure out how to run
a SQL query against that.?

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: Export csv from Excel file

<u2pvbv$3er4h$1@paganini.bofh.team>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25569&group=comp.lang.c#25569

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: inva...@invalid.net (Jack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 04:15:00 +0100
Organization: To protect and to server
Message-ID: <u2pvbv$3er4h$1@paganini.bofh.team>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 2 May 2023 03:17:19 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3632273"; posting-host="lvwnlrZOTyXOUFTBTyWy3g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:kpLx/lpLeICtR8GxckubjZbwCD/s5WsuVze9F1W3xCs=
Content-Language: en-CA
X-Notice: Filtered by postfilter v. 0.9.3
 by: Jack - Tue, 2 May 2023 03:15 UTC

On 02/05/2023 01:33, Kaz Kylheku wrote:
> What you can download from an online database is basically what
> its web front-end provides/allows. You don't get to run SQL queries
> against the underlying server.

That's correct but we are talking about programmers who have access to
the back-end with full privileges. These guys can do anything on the
databases. You need the username and password. A secured server is
likely to have disabled the root user.

>
>
> It's right there: artportalen.se. Can you figure out how to run
> a SQL query against that.?
>
No the above link is a website that uses a database. I bet it is using
either MySQL or MS-SQL. I looked at the source code and they are using
Telerik framework and so most likely than not they are using dot net
framework and the back-end is likely to be MySQL or MS-SQL.

The website must have been created using PHP scripts (or even modern
Blazor framework created by Microsoft). Blazor is very popular with C#
programmers. But php is most likely because blazor needs to download run
time libraries for web site to function properly and this did not happen
on my machine.

Also when using data from the database, the programmer needs to know
which particular table he wants data from. A database has many tables
and all tables are not useful for certain users. Accounts might be
interested in sales table from which to get the total amounts. Or they
might be interested in Orders table or customer table. Hackers might be
interested in usernames and password tables etc etc.

Now the question is are there tools that can allow you to access these
tables. The answer is yes. For example these are the tools I use often:

phpMyAdmin - Free
MySQL Workbench - Free by Oracle
Microsoft SQL Server Management Studio - Free by Microsoft
And others created by third parties but they are not free and so I don't
use them.

Re: Export csv from Excel file

<u2qc1s$l6ia$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25571&group=comp.lang.c#25571

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 08:53:47 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <u2qc1s$l6ia$1@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 2 May 2023 06:53:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="75843282044fc4cfcb60e88329f6240b";
logging-data="694858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YnGiQR8KhWwi0xLpsFnXs36Wx53D3DF0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:HVQWq+n891Lk6H4QNfkP8zEiUAY=
Content-Language: en-GB
In-Reply-To: <u2pvbv$3er4h$1@paganini.bofh.team>
 by: David Brown - Tue, 2 May 2023 06:53 UTC

On 02/05/2023 05:15, Jack wrote:
> On 02/05/2023 01:33, Kaz Kylheku wrote:
>> What you can download from an online database is basically what
>> its web front-end provides/allows. You don't get to run SQL queries
>> against the underlying server.
>
> That's correct but we are talking about programmers who have access to
> the back-end with full privileges. These guys can do anything on the
> databases. You need the username and password. A secured server is
> likely to have disabled the root user.
>

We had been talking about someone who had xlsx files and needed to
handle them. The source could have been the export from a database
frontend (whether it be a website, or another tool). Most likely, I
think, is that there are users with Excel who make xlsx files and send
them on to someone else who has to turn this into a program or data for
a program, on a system that does not necessarily have Excel.

I've seen that happen often. For example, you have local distributors
in different countries making translation tables for your program.
These are not developers - you don't make them use advanced
internationalisation software. You just give them a table of words and
phrases in a spreadsheet and ask them to fill in a local equivalent.
(Another case I have seen is for configuration parameters.) It doesn't
matter how often you say "use whatever software you like, but send back
a csv file", 90% of them will send you in xlsx format.

>>
>>
>> It's right there: artportalen.se. Can you figure out how to run
>> a SQL query against that.?
>>
> No the above link is a website that uses a database. I bet it is using
> either MySQL or MS-SQL. I looked at the source code and they are using
> Telerik framework and so most likely than not they are using dot net
> framework and the back-end is likely to be MySQL or MS-SQL.
>

Given that Telerik /is/ a dot-net framework, and how off-topic this is
(even in this off-topic thread), I'm skipping the rest of your post.

Re: Export csv from Excel file

<u2qnj8$34s8l$2@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25572&group=comp.lang.c#25572

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 10:10:48 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <u2qnj8$34s8l$2@news.xmission.com>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com> <u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com> <u2pvbv$3er4h$1@paganini.bofh.team>
Injection-Date: Tue, 2 May 2023 10:10:48 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3305749"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Tue, 2 May 2023 10:10 UTC

In article <u2pvbv$3er4h$1@paganini.bofh.team>,
Jack <invalid@invalid.net> wrote:
>On 02/05/2023 01:33, Kaz Kylheku wrote:
>> What you can download from an online database is basically what
>> its web front-end provides/allows. You don't get to run SQL queries
>> against the underlying server.
>
>That's correct but we are talking about programmers who have access to
>the back-end with full privileges. These guys can do anything on the
>databases. You need the username and password. A secured server is
>likely to have disabled the root user.

Maybe you should start talking about and sharing your vast experience on
the price of tea in Outer Mongolia. Just as relevant to this thread as
anything else you've posted.

--
[Donald] Trump didn't have it all handed to him by his parents,
like Hillary Clinton did.

- Some dumb cluck in Ohio; featured in Michael Moore's "Trumpland" -

Re: Export csv from Excel file

<87354ff3b7.fsf@zotaspaz.fatphil.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25573&group=comp.lang.c#25573

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 02 May 2023 13:14:20 +0300
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <87354ff3b7.fsf@zotaspaz.fatphil.org>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="d075f39a20af93df3cd975d676cda9cb";
logging-data="756137"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HmKMbm3+mRCIJue1VEUF7"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:unRNsJM0ZZBm4Ebm06iPxxwfNOk=
sha1:Hy8BLA9txMJUPwNYSg1sqTehrG8=
 by: Phil Carmody - Tue, 2 May 2023 10:14 UTC

Jack <invalid@invalid.net> writes:
> On 02/05/2023 01:33, Kaz Kylheku wrote:
>> What you can download from an online database is basically what
>> its web front-end provides/allows. You don't get to run SQL queries
>> against the underlying server.
>
> That's correct but we are talking about programmers who have access to
> the back-end with full privileges.

No we aren't. The source format of the data to the person asking how to
handle xlsx files has always been xlsx files. That someone else has data
in another format it entirely irrelevant.

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: Export csv from Excel file

<u2rrlb$t5bd$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25576&group=comp.lang.c#25576

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 16:26:19 -0400
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <u2rrlb$t5bd$1@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 2 May 2023 20:26:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e8eca52928c8a2c96596f580e8de607a";
logging-data="955757"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1994VY5uD/2YXyd3ix+29DLANyEI3cWBc0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:lvblLbs8+feezIrXrGGzyoyNQOc=
Content-Language: en-US
In-Reply-To: <u2pvbv$3er4h$1@paganini.bofh.team>
 by: James Kuyper - Tue, 2 May 2023 20:26 UTC

On 5/1/23 23:15, Jack wrote:
> On 02/05/2023 01:33, Kaz Kylheku wrote:
>> What you can download from an online database is basically what
>> its web front-end provides/allows. You don't get to run SQL queries
>> against the underlying server.
>
> That's correct but we are talking about programmers who have access to
> the back-end with full privileges.

That's odd, when did the topic change in that fashion? The original
question was about a list of instructions obtained from an unspecified
source in .xlsx format, for input into a code generator. We were given
no indication how that list of instructions was created, but the fact
that the OP wanted to convert the list to .csv format implies that he
was not in a position to modify whatever created that list to create it
in .csv format directly.

Jorgen rebutted your claim that access to data in .xlsx format
necessarily implied the ability to get the data in other formats as
well, by identifying artportalen.se as a source of data in that format,
which he is in no position to modify. As a user, he only has access to
the output in the formats supported by their public interface. He has no
direct access to the database from which that output was extracted.

The programmers at artportalen.se do, presumably, have such access, but
he wasn't talking about them, he was talking about himself, and he has
no such access. So, at what point in the process did the discussion
change from what Jorgen had access to, to what the artportalen.se
programmers have access to? And why did it change? The fact that they
have such access is irrelevant to the point he was making. The fact that
he doesn't have such access is relevant.

Re: Export csv from Excel file

<u2rt9u$3lb92$1@paganini.bofh.team>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25577&group=comp.lang.c#25577

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: inva...@invalid.net (Jack)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 22:00:00 +0100
Organization: To protect and to server
Message-ID: <u2rt9u$3lb92$1@paganini.bofh.team>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team> <u2rrlb$t5bd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 2 May 2023 20:54:22 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3845410"; posting-host="lvwnlrZOTyXOUFTBTyWy3g.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:MvVxl8Pcp+JRZam5YCK/f3AUbNg/DXVISi9xNiXpyfY=
X-Notice: Filtered by postfilter v. 0.9.3
Content-Language: en-CA
 by: Jack - Tue, 2 May 2023 21:00 UTC

On 02/05/2023 21:26, James Kuyper wrote:
> That's odd, when did the topic change in that fashion?
Ask the people who started asking questions about SQL. I was simply
replying to their questions. I did not change anything. My first
response was strictly to the point.

As to Jorgen rebutted my claim, I asked him to provide a name of the
database that ONLY gives data in excel file format. I have never heard of
such cobblers. Excel is a proprietary product and people can't
abuse it the way they would like to.

Jorgen posted a link o a website and there isn't anything on that for
users to download data in excel format. I didn't even see a link to
register as a new user to test his hypotheses. I can only surmise that
he was talking about downloading the entire website but I ignored it
because it was clearly OT and there are better ways to it. I only
covered his statement about CSV not always available. That's
unbelievable to put it mildly.

I've finished with this. The OP hasn't come back so he/she must have
found better suggestions elsewhere.

QED & EOD

Re: Export csv from Excel file

<20230502142205.718@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25578&group=comp.lang.c#25578

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Tue, 2 May 2023 21:27:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <20230502142205.718@kylheku.com>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team>
Injection-Date: Tue, 2 May 2023 21:27:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="88fbb9f215f4675476e471ed9ed42f19";
logging-data="980432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8tmlVBXr+7PGcCdeX3yc6Xp9dyrSmb0Y="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Cyb/t0huWI7NYV4VC5tfu9+2Avg=
 by: Kaz Kylheku - Tue, 2 May 2023 21:27 UTC

On 2023-05-02, Jack <invalid@invalid.net> wrote:
> On 02/05/2023 01:33, Kaz Kylheku wrote:
>> What you can download from an online database is basically what
>> its web front-end provides/allows. You don't get to run SQL queries
>> against the underlying server.
>
> That's correct but we are talking about programmers who have access to
> the back-end with full privileges.

No such thing was mentioned.

>> It's right there: artportalen.se. Can you figure out how to run
>> a SQL query against that.?
>>
> No the above link is a website that uses a database.

Have your purveyor upgrade your bot API to GPT4; your support for
understanding synecdoche seems to be lagging.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: Export csv from Excel file

<u2t26e$16moq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25582&group=comp.lang.c#25582

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: Export csv from Excel file
Date: Wed, 3 May 2023 03:23:58 -0400
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <u2t26e$16moq$1@dont-email.me>
References: <32268a66-845a-4771-a2b7-e0535dd8ac09n@googlegroups.com>
<u2c1d8$13pps$1@paganini.bofh.team>
<slrnu50agl.1bil.grahn+nntp@frailea.sa.invalid>
<u2pc9s$389ni$1@paganini.bofh.team> <20230501173129.65@kylheku.com>
<u2pvbv$3er4h$1@paganini.bofh.team> <u2rrlb$t5bd$1@dont-email.me>
<u2rt9u$3lb92$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 3 May 2023 07:23:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b39d7f23aeeaa1e4ed3a4d8af90303a0";
logging-data="1268506"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/419+Vru1G8XQ54akJfqMbty5rAZOE/R8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Cancel-Lock: sha1:xVr1Ahn7xwGzhUyfuOlHabdS+cE=
Content-Language: en-US
In-Reply-To: <u2rt9u$3lb92$1@paganini.bofh.team>
 by: James Kuyper - Wed, 3 May 2023 07:23 UTC

On 5/2/23 17:00, Jack wrote:
> On 02/05/2023 21:26, James Kuyper wrote:
>> That's odd, when did the topic change in that fashion?
> Ask the people who started asking questions about SQL. I was simply
> replying to their questions. I did not change anything. My first
> response was strictly to the point.
>
> As to Jorgen rebutted my claim, I asked him to provide a name of the
> database that ONLY gives data in excel file format. I have never heard of
> such cobblers. Excel is a proprietary product and people can't abuse
> it the way they would like to.
>
> Jorgen posted a link o a website and there isn't anything on that for
> users to download data in excel format. I didn't even see a link to
> register as a new user to test his hypotheses.

It's not a hypothesis - it's an assertion based upon his own experience
with the website.

It's odd, but while I was able to find an English language explanation
of the project at <http://www.artpolen.se/en/>, I couldn't find any
direct way to access an English-language version of the web site.
However, translate.google.com indicates that the translation of the
button label that says "Slapa konto" is "Create account".

Selecting that button took me to the page
<https://ids.artdatabanken.se/account/create?returnUrl=https://artportalen.se&ui_locales=sv>

Changing to "ui_locales=en" brought me to an English language version of
the page. I successfully created an account using that page, after
overcoming two obstacles:
This is first time I've ever seen a country list that did not include
the US. I told it that my country was "Canada" and added "MD USA" to the
city name.
The registration process resulted in them sending me an e-mail to
confirm my address that instructed me to "click the link below", which
was followed by a URL that was not marked for display as a clickable
link. However, cutting and pasting that URL into my web browser worked.

Logging in, it was not obvious how to change the display language to
English, but selecting the tab labelled "Mina Sidora" (="My pages") and
"Redigera" (="Edit") showed me a page where I could change "Språk"
(="language") from "Swedish (Sweden)" to "English (United Kingdom)" and
"artnamnsspråk" (= "species language") from "Svenska" (="Swedish") to
"Engelska" (="English"). Hitting the button labelled "Spara" (="save")
resulted in submitting my changes, and from that point on it displayed
in English.

Selecting "Search" and "View sightings", there was a button titled
"Export to Excel file". No option to download data in any other format
was presented, exactly as Jorgen said.

It's impolite to accuse people of lying without adequate justification,
and you didn't have it.

> ... I can only surmise that he was talking about downloading the
> entire website ...

That's a weird thing to surmise, given that he was talking about using
the website, not downloading it.

.... but I ignored it
> because it was clearly OT

It was presented as a example of a database from which data is not
available to the users in any format other than Excel. That is entirely
on topic, due to your claim that no such thing could possibly exist.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor