#2462: Consistency issues in a few commands
--------------------------------+-------------------------------------------
 Reporter:  ch...@…             |       Owner:  lfs-b...@…                   
     Type:  task                |      Status:  new                          
 Priority:  normal              |   Milestone:                               
Component:  Book                |     Version:  SVN                          
 Severity:  normal              |    Keywords:                               
--------------------------------+-------------------------------------------

Comment(by bdu...@…):

 The sed man page says:

 sed [OPTION]... {script-only-if-no-other-script} [input-file]...

 Using the {script-only-if-no-other-script} construct is position
 dependent.

 In the past we've used different constructs to do similar things to
 enhance the learning aspect of the book.  This is somewhat similar to the
 position of using `head -3 filename` vs `head -n3 filename`.  In my mind,
 more explicit is generally better.

 A quick check with a few greps show 12 instances with using sed with -e
 and 26 without.  I'm in favor of leaving the style of these instructions
 as they are.

 Occasional use of the -i.orig construct is OK with me too.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2462#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