[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Patches-2999951 ] Fix bashism in sch2eaglepos.sh



Patches item #2999951, was opened at 2010-05-11 15:13
Message generated for change (Tracker Item Submitted) made by aelmahmoudy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=2999951&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gnetlist
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ahmed El-Mahmoudy (aelmahmoudy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix bashism in sch2eaglepos.sh

Initial Comment:
The following bashisms were found in sch2eaglepos.sh:

> sch2eaglepos.sh line 47
> (read with option other than -r):
> while read -u 3; do

> sch2eaglepos.sh line 51
> (read with option other than -r):
>     read -u 3;

Also if the script was run with bash, I got this error:
./sch2eaglepos.sh: line 47: read: 3: invalid file descriptor: Bad file descriptor

The attached patch fixes the bashism.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=2999951&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug