Downloads:

14,672

Downloads of v 7.4.2:

9,616

Last Update:

13 Oct 2020

Package Maintainer(s):

Software Author(s):

  • Erwin Waterlander
  • Christian Wurll
  • Bernd Johannes Wuebben
  • Benjamin Lin and John Birchfield.

Tags:

dos2unix text file format converter dos unix

Dos2Unix / Unix2Dos - Text file format converters

  • 1
  • 2
  • 3

7.4.2 | Updated: 13 Oct 2020

Downloads:

14,672

Downloads of v 7.4.2:

9,616

Maintainer(s):

Software Author(s):

  • Erwin Waterlander
  • Christian Wurll
  • Bernd Johannes Wuebben
  • Benjamin Lin and John Birchfield.

  • 1
  • 2
  • 3
Dos2Unix / Unix2Dos - Text file format converters 7.4.2

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Dos2Unix / Unix2Dos - Text file format converters, run the following command from the command line or from PowerShell:

>

To upgrade Dos2Unix / Unix2Dos - Text file format converters, run the following command from the command line or from PowerShell:

>

To uninstall Dos2Unix / Unix2Dos - Text file format converters, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade dos2unix -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade dos2unix -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install dos2unix
  win_chocolatey:
    name: dos2unix
    version: '7.4.2'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'dos2unix' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '7.4.2'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller dos2unix
{
    Name     = "dos2unix"
    Version  = "7.4.2"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'dos2unix':
  ensure   => '7.4.2',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 13 Oct 2020.

Description

Features

  • Native language support: Brazilian Portuguese, Chinese simplified, Chinese traditional, Danish, Dutch, English, Esperanto, French, German, Hungarian, Japanese, Norwegian Bokmaal, Polish, Russian, Serbian, Spanish, Swedish, Ukrainian, Vietnamese.
  • Automatically skips binary and non-regular files
  • In-place, paired, or stdio mode conversion.
  • Keep original file dates option.
  • 7-bit and iso conversion modes like SunOS dos2unix.
  • Conversion of Unicode UTF-16 files.
  • Handles Unicode Byte Order Mark (BOM)
  • Display file information
  • Secure

legal\LICENSE.txt

From: https://waterlan.home.xs4all.nl/dos2unix/COPYING.txt

LICENSE

The dos2unix package is distributed under FreeBSD style license.
See also http://www.freebsd.org/copyright/freebsd-license.html
--------

Copyright (C) 2009-2016  Erwin Waterlander
Copyright (C) 1998 Christian Wurll
Copyright (C) 1998 Bernd Johannes Wuebben
Copyright (C) 1994-1995 Benjamin Lin.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice in the documentation and/or other materials provided with
   the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
legal\VERIFICATION.txt
VERIFICATION
 
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
Package can be verified like this:
 
1. Download:
 
   x32: https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.2-win32-nls.zip
   x64: https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.2-win64-nls.zip
  
2. You can use one of the following methods to obtain the SHA256 checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'
 
   checksum type: sha256
   checksum32: 8A4BCD90E6FD378768E3217BF89EDEA5C132183F8C8239107513DA32C3B64405
   checksum64: D7F850438968F7B88F887803CB7B70DA79D024ED0AA90CBC59C86F145FA68DB1
 
File 'LICENSE.txt' is obtained from:
   https://waterlan.home.xs4all.nl/dos2unix/COPYING.txt
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName = $env:ChocolateyPackageName
  destination = "$toolsDir"
  file        = "$toolsDir\dos2unix-7.4.2-win32-nls.zip"
  file64      = "$toolsDir\dos2unix-7.4.2-win64-nls.zip"
}

Get-ChocolateyUnzip @packageArgs
Remove-Item -Path $packageArgs.file,$packageArgs.file64
tools\dos2unix-7.4.2-win32-nls.zip
md5: 0B6E3BB4C3D87A1D5E71C1B3215A04B1 | sha1: A4BBB7D1625CF7F82F39CB38C42510AAB1EA2718 | sha256: 8A4BCD90E6FD378768E3217BF89EDEA5C132183F8C8239107513DA32C3B64405 | sha512: 2E6ED39413A7C9221F74F5172632C1DBFCC99A1B049728DB13BF2D241553B3ABEBD4B023BA3D5677EF453ACB14DC5C49FA031BACD118C4D26A09D4AFAD417456
tools\dos2unix-7.4.2-win64-nls.zip
md5: B6314296F172EE2FBAFB1D993C15F735 | sha1: 97B76A04A7A847944F5C216FAE5C38E3AA208811 | sha256: D7F850438968F7B88F887803CB7B70DA79D024ED0AA90CBC59C86F145FA68DB1 | sha512: 36F96149EC039809498FEFF50E4B741972D3CE9EC5CF26327BB6C11A3B5F7442596F5D51F05AA84671F7CC572DE8AE7A6E29EDC0C8A28167A171B2858A3D08AC

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Dos2Unix / Unix2Dos - Text file format converters 7.4.1 4625 Wednesday, September 25, 2019 Approved
Dos2Unix / Unix2Dos - Text file format converters 7.4.0 431 Saturday, July 6, 2019 Approved

This package has no dependencies.

Discussion for the Dos2Unix / Unix2Dos - Text file format converters Package

Ground Rules:

  • This discussion is only about Dos2Unix / Unix2Dos - Text file format converters and the Dos2Unix / Unix2Dos - Text file format converters package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Dos2Unix / Unix2Dos - Text file format converters, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus