sbp wrote: 
> Thank you for the suggestion, what would be a correct syntax for the use
> of dos2unix before copying the file to picoreplayer?
> 
> steen

dos2unix is served by busybox......should be already included.   Below
is the syntax......it converts the file in place.   So in your upgrade
script, just run

dos2unix -u config.cfg

then copy the config to the new location.   dos2unix will work with
stdio, so you can use pipes if you wish.


Code:
--------------------
    
  dos2unix
  dos2unix [OPTION] [FILE]
  
  Convert FILE in-place from DOS to Unix format. When no file is given, use 
stdin/stdout.
  
  Options:
  
  -u      dos2unix
  -d      unix2dos
  
--------------------


------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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

Reply via email to