From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gAusBG7ctWBhDQEAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 09:06:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id tPSHO23ctWDVJQAA1q6Kng (envelope-from ) for ; Tue, 01 Jun 2021 07:06:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 19A1F12F9A for ; Tue, 1 Jun 2021 09:06:21 +0200 (CEST) Received: from localhost ([::1]:35568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnyTj-0000U0-PI for larch@yhetil.org; Tue, 01 Jun 2021 03:06:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnySh-0000Tq-RY for emacs-orgmode@gnu.org; Tue, 01 Jun 2021 03:05:16 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([13.59.128.245]:50960 helo=rugose-branwen.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnySf-00057O-Us for emacs-orgmode@gnu.org; Tue, 01 Jun 2021 03:05:15 -0400 Received: from decisive-ellyllon.authn-relay.a.mail.umich.edu (ip-10-0-72-168.us-east-2.compute.internal [10.0.72.168]) by rugose-branwen.relay-egress.a.mail.umich.edu with ESMTPS id 60B5DC25.835EA.9DEE9AB.4121409; Tue, 01 Jun 2021 03:05:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1622531109; bh=sST4sH3K2Bjvjc7CNoDmsJnccIsjQmXIm5dfVbCNseY=; h=From:To:cc:Subject:In-reply-to:Date; b=EUpbo17IY838hWwUHESl0lFhIH3L0LGMw4L5tM9pnrD9doxcUuvEXxleJLAFVw87l IuM0D7J0ATdIWu0MW8Po2oM61kQMkgHjmIArA4qZ5i2mxSFTmXjj1GBKlV7jDj0KtW 6Px/QGqvJPP5mh8E6ccRpKaWu3WqKA+vd5nbMuUNikoZkpeAV68cxaGHVh30Eopx81 iPSo/Ucylexa7u042TwzAcX2UyPTIMHbGaSMuze3x18IbDHjzAE/Yb+k5ZEXUCKfRb C9xFYVAUoxj5sb00JaI8+GvnAAAypPCifjc0yAgV1VO72kIfNsW805Yb6pdyPBUATA B8Htp4lVsUwpg== Received: from localhost (Mismatch [88.236.235.126]) by decisive-ellyllon.authn-relay.a.mail.umich.edu with ESMTPSA id 60B5DC23.AC894.7B53DB86.1681779; Tue, 01 Jun 2021 03:05:08 -0400 From: Greg Minshall To: Uwe Brauer Subject: Re: import xls(x) into org on MacOS In-reply-to: Your message of "Tue, 01 Jun 2021 08:41:09 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <759439.1622531104.1@apollo2.minshall.org> Date: Tue, 01 Jun 2021 10:05:04 +0300 Message-ID: <759440.1622531104@apollo2.minshall.org> Received-SPF: pass client-ip=13.59.128.245; envelope-from=minshall@umich.edu; helo=rugose-branwen.relay-egress.a.mail.umich.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622531181; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sST4sH3K2Bjvjc7CNoDmsJnccIsjQmXIm5dfVbCNseY=; b=a7uQYgVpcebobdx05jskCuNE3Fmwh73xT9kZBCEFc6qdB0QP8CsXMVVl9DvI8QDZM4SuPR CQ1X9ulSMKC2B4pTGnG0cFnW3irMMzU9tRx2BERm6A4jQ/vJxnbW1cwpy49b3tma4TXEDB 7iy0WslS9dkwGQ5vFvcqFy1XHpifW81rDNaVgJ0ns1mgxWMCJcZmY31pGMQFY9wlMEEUdc OMoVQ7ddDYIhBA/Kw8wZVhaTzzXGvY8lFqIJSuP3T96fExXlRVFmtGandixWronuGr5q9Z 0vgJUkHKbtPHjV1inzNqccIEFHE+LDDDioysliKIuPwdGwNH3Kgt1lJVp3Vtuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622531181; a=rsa-sha256; cv=none; b=Tgmg7oPmk68Y7Svl74oYrF5PCDJ4c+STwUKCaiaXlThzvkHo0rrZ0f/MsxpXRddARB5bf1 m5SfsXwgwLoDT5koRMjPmA87QLibeGZ40s6byMjRIUaX8UV8LqslcsOaVPGuNGFjXjKtLD 7cGFIPuHlFTjldpIexGGcKfcXvcdYi7LYWQYSYT13ZQWDocX4hpa4VfU3nO3HGS1GPPQgT gY10U5EaT31NyAkIp/hSi3PuTuOdC0fesea+65LrN0CCPzXe+t7rUm3qBXZzKs07XSj5CY LSEHAaCO9R0uAoWmOpvJ6bvdltHvhkhS+s7oHgwwBAdRY8RYiax+rVzhaRSsLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=umich.edu header.s=relay-2018-08-29 header.b=EUpbo17I; dmarc=fail reason="SPF not aligned (relaxed)" header.from=umich.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=umich.edu header.s=relay-2018-08-29 header.b=EUpbo17I; dmarc=fail reason="SPF not aligned (relaxed)" header.from=umich.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 19A1F12F9A X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: ec9eVAtYsNSN Uwe, i don't know if it will work for you, but on my linux box i use =ssconvert= from the =gnumeric= package to convert from .xls to .csv. in one project, the make rule looks like ---- ${BDIRCSVS}/%.csv: xlsxs/%.xlsx ssconvert -T Gnumeric_stf:stf_csv $< fd://1 | \ awk '{ \ line = line $$0; \ ol = line; \ gsub("[^\"]", "", ol); \ if (length(ol)%2==0) { \ print line; \ line = "" \ } \ }' | \ grep '^,' | \ grep -v '^,,*$$' > $@ ---- (i could probably puzzle out why the awk and greps, but i don't recall at the moment.) cheers, Greg