olds/easy-debian-init.rb
def convert_file(files=[])
      dos2unix = '/usr/bin/dos2unix -q'
      files.each do |file|
        convert = system("#{dos2unix} #{file}")
        check_status(convert, "Converting the file: #{Tty.white}#{file}#{Tty.blue}")
      end
    end
# Method to convert the files to unix format, in some cases we need this feature
# so is better has a method to handle it.
Method to convert the files to unix format, in some cases we need this feature
so is better has a method to handle it.
Method to convert the files to unix format in some cases we need this feature so is better has a method to handle it .
def convert_file(files=[])
      dos2unix = '/usr/bin/dos2unix -q'
      files.each do |file|
        convert = system("#{dos2unix} #{file}")
        check_status(convert, "Converting the file: #{Tty.white}#{file}#{Tty.blue}")
      end
    end
def convert_file ( files = [ ] ) dos2unix = '/usr/bin/dos2unix -q' files . each do | file | convert = system ( "#{dos2unix} #{file}" ) check_status ( convert , "Converting the file: #{Tty.white}#{file}#{Tty.blue}" ) end end
Method to convert the files to unix format, in some cases we need this feature
so is better has a method to handle it.
Method to convert the files to unix format in some cases we need this feature so is better has a method to handle it .
files