GNU bug report logs - #52559
Guile doesn't like carriage returns after \

Previous Next

Package: guile;

Reported by: Grigory Shepelev <shegeley <at> gmail.com>

Date: Thu, 16 Dec 2021 17:47:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Grigory Shepelev <shegeley <at> gmail.com>, 52559 <at> debbugs.gnu.org,  phil <at> beadling.co.uk
Subject: bug#52559: guix pull fails with `Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv"
Date: Thu, 16 Dec 2021 21:50:11 +0000
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> Extended research. Lead to 
> 
> ERROR: In procedure primitive-load:
> In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> module-import/guix/build/utils.scm:822:1: illegal character in escape
> sequence: #\return
>
> Possibly related to https://www.mail-archive.com/help-
> guix <at> gnu.org/msg12265.html

Here's a minimal reproducer:

Run the following in a REPL:
(call-with-input-string "\"Hello\\\rcarriage return!\"" read).

Alternatively, run guile -l c.scm on the attached file.

In both cases, you'll get
> invalid character in escape sequence: #\return
> > > 

Greetings,
Maxime
[c.scm (text/x-scheme, attachment)]

This bug report was last modified 3 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.