The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: file renaming
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 10-13-2008
treesloth treesloth is offline
Registered User
  
 

Join Date: Oct 2008
Location: Orem, Utah
Posts: 73
Quote:
Originally Posted by cfajohnson View Post
There's no need for -1 when the output of ls is not going to a terminal. In fact, there's no need for ls at all:
Is there a reason why


Code:
printf "%s\n" iq*.bin

is preferable to
Code:
ls iq*.bin

?