Something like this is probably better: ```scheme (use-modules (guix ui) (srfi srfi-1)) (define (strings lst) (fold (lambda (i result) (cond ((string? i) (cons i result)) ((list? i) (append (strings i) result)) (else result))) (list) lst)) (map texi->plain-text (strings (call-with-input-file "etc/news.scm" read)) ```
----- On Oct 28, 2019, at 8:27 PM, Eric Bavier ericbav...@centurylink.net wrote: > FWIW, hacky way to check news items in shell: > > ``` > commit=HEAD > previous=$(git rev-parase ${commit}^) > guix pull --url="file://$PWD" --commit="$previous" --profile=$PWD/_pull_check > guix pull --uri="file://$PWD" --commit="$commit" --profile=$PWD/_pull_check > guix pull --profile=$PWD/_pull_check --news > rm -rf $PWD/_pull_check > ``` > > `~Eric > > ----- On Oct 28, 2019, at 4:58 PM, GNU bug Tracking System > help-debb...@gnu.org > wrote: > >> Thank you for filing a new bug report with debbugs.gnu.org. >> >> This is an automatically generated reply to let you know your message >> has been received. >> >> Your message is being forwarded to the package maintainers and other >> interested parties for their attention; they will reply in due course. >> >> Your message has been sent to the package maintainer(s): >> bug-guix@gnu.org >> >> If you wish to submit further information on this problem, please >> send it to 37...@debbugs.gnu.org. >> >> Please do not send mail to help-debb...@gnu.org unless you wish >> to report a problem with the Bug-tracking system. >> >> -- >> 37965: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37965 >> GNU Bug Tracking System >> Contact help-debb...@gnu.org with problems > > -- > `~Eric -- `~Eric