GNU bug report logs - #8654
head

Previous Next

Package: coreutils;

Reported by: Ivan DI PRIMA <ivan.di.prima <at> stericsson.com>

Date: Wed, 11 May 2011 16:09:02 UTC

Severity: normal

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ivan DI PRIMA <ivan.di.prima <at> stericsson.com>
Subject: bug#8654: closed (Re: bug#8654: head)
Date: Wed, 11 May 2011 17:39:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#8654: head

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8654 <at> debbugs.gnu.org.

-- 
8654: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8654
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eric Blake <eblake <at> redhat.com>
To: Ivan DI PRIMA <ivan.di.prima <at> stericsson.com>
Cc: 8654-done <at> debbugs.gnu.org
Subject: Re: bug#8654: head
Date: Wed, 11 May 2011 10:30:22 -0600
[Message part 3 (text/plain, inline)]
tag 8654 notabug
close 8654
thanks

On 05/11/2011 02:15 AM, Ivan DI PRIMA wrote:
> Hi I run the following line:
> 
> $ set header = `head -5 ~/buffer/t1xp_axi2rgv_fifo.vhd`
> 
> and get:
> 
> Missing }.
> 
> Any ideas?

Thanks for the report.  However, this is not a bug in head, but in your
usage of your shell.

What does this output:

head -5 ~/buffer/t1xp_axi2rgv_fifo.vhd

If it is not valid csh shell script (and I'm assuming your using csh,
based on your syntax for using set), then that explains why csh, not
head, is complaining that after the `` substitution has completed, the
resulting text can't be parsed (because it is unquoted, the shell may be
trying to do word splitting on the results, but is getting thrown off by
unbalanced {} in the words to be split).  I'm not a csh user, but does
adding "" around the `` help, as in:

set header = "`head -5 ~/buffer/t1xp_axi2rgv_fifo.vhd`"

I'm marking this bug closed, although we can always reopen it if you can
prove that the problem was in head rather than in your use of shell code.

> This communication is confidential and intended solely for the addressee(s).

It is considered poor netiquette to send email to publicly archived
lists with employer disclaimers, since such disclaimers are
unenforceable by nature of the public archival.  You may want to
consider sending from a different account when sending bug reports to
open source projects.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ivan DI PRIMA <ivan.di.prima <at> stericsson.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: head
Date: Wed, 11 May 2011 10:15:11 +0200
[Message part 6 (text/plain, inline)]
Hi I run the following line:

$ set header = `head -5 ~/buffer/t1xp_axi2rgv_fifo.vhd`

and get:

Missing }.

Any ideas?

Running on:
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
$ uname -r
2.6.9-78.0.13.ELlargesmp

Thanks
Ivan


[cid:image001.png <at> 01CC0FBA.D2010E40]

Ivan Di Prima
Electronics Engineer

ST-Ericsson
Maplewood,
Chineham Business Park
Basingstoke
Hampshire
RG24 8YB
United Kingdom

Office: +44 1256 303187
Mobile: +44 7881 857 467
Fax: +44 1256 303353
Email: ivan.di.prima <at> stericsson.com<mailto:ivan.di.prima <at> stericsson.com>
www.stericsson.com<http://www.stericsson.com/>

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

Registered Address: ST-Ericsson (Uk) Ltd, Planar House, Parkway, Marlow, Buckinghamshire, SL7 1YL.  Company No 06637804

[Message part 7 (text/html, inline)]
[image001.png (image/png, inline)]
[t1xp_axi2rgv_fifo.vhd (application/octet-stream, attachment)]

This bug report was last modified 14 years and 15 days ago.

Previous Next


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