#2646: scripts should use printf instead of echo
--------------------------+-------------------------------------------------
 Reporter:  tito_puentes  |       Owner:  lfs-b...@…                   
     Type:  defect        |      Status:  new                          
 Priority:  low           |   Milestone:  6.7                          
Component:  Bootscripts   |     Version:  SVN                          
 Severity:  minor         |    Keywords:  echo printf POSIX            
--------------------------+-------------------------------------------------

Comment(by bdu...@…):

 Replying to [comment:2 tito_puentes]:

 > I don't think you've looked at the patch, nor at the lfs script
 themselves.

 Yes I did for LFS, but not BLFS.

 > You use echo -ne, and not sparingly.

 Only in the contrib directory.

 > time for i in $(seq 1 1000); do echo str >/dev/null; done

 But echo is not called 1000 times in the bootscripts and never outside of
 'functions' with an option.  The overhead for the actual number calls are
 negligible.  I'd like to see some opinions from others.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2646#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to