Try changing:

Code:
--------------------
    
  sed -i .prev '1d' $filelist
  
--------------------


to 


Code:
--------------------
    
  sed -i.prev -e '1d' $filelist
  
--------------------


Note: no space after -i.


-- 
MrC
------------------------------------------------------------------------
MrC's Profile: http://forums.slimdevices.com/member.php?userid=468
View this thread: http://forums.slimdevices.com/showthread.php?t=60307

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to