Downloads:

496

Downloads of v 7.4.1:

154

Last Update:

9/25/2019

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

7.4.1 | Updated: 9/25/2019

Downloads:

496

Downloads of v 7.4.1:

154

Maintainer(s):

Software Author(s):

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

Dos2Unix / Unix2Dos - Text file format converters 7.4.1

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade dos2unix -y --source="'STEP 3 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="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure dos2unix installed
  win_chocolatey:
    name: dos2unix
    state: present
    version: 7.4.1
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'dos2unix' do
  action    :install
  version  '7.4.1'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: dos2unix,
    Version: 7.4.1,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller dos2unix
{
   Name     = 'dos2unix'
   Ensure   = 'Present'
   Version  = '7.4.1'
   Source   = 'STEP 3 URL'
}

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


package { 'dos2unix':
  provider => 'chocolatey',
  ensure   => '7.4.1',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install dos2unix version="7.4.1" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator gep13 on 9/25/2019.

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

screenshot


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.1-win32-nls.zip
   x64: https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.1-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: AFB9DAE0663A31C32DC878D1B3909E40CA330B75072A6D1AB3F7D7ABD96B6798
   checksum64: 0C5E70E40CFEE8681F035CA0142085B33AFF759DA6B818C6C0340454349A65EB
 
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.1-win32-nls.zip"
  file64        = "$toolsDir\dos2unix-7.4.1-win64-nls.zip"
}

Get-ChocolateyUnzip @packageArgs
Remove-Item -Path $packageArgs.file,$packageArgs.file64
tools\dos2unix-7.4.1-win32-nls.zip
md5: EC7EB6222C23DC989366FC424AA4B447 | sha1: C7123C1A6BB1FD0DD3418BC0D2E1DD620DA69B93 | sha256: AFB9DAE0663A31C32DC878D1B3909E40CA330B75072A6D1AB3F7D7ABD96B6798 | sha512: 1702F7BD515DC4C532526EF43CA18827FDCA3F986AF94CEB59C4387AA8476BD3BEB0266EB0E31BA127AA7306C868321A5C9FDCA83DC7349E3AEFC00A1984945B
tools\dos2unix-7.4.1-win64-nls.zip
md5: F866B4A44418B9014D4DF472396163BA | sha1: 78E430FB7A564B5194E7201A1182D9E868C73C26 | sha256: 0C5E70E40CFEE8681F035CA0142085B33AFF759DA6B818C6C0340454349A65EB | sha512: 75915889DC18CC4F0CAB9754E60442AB9101F5AB32893C0A04DA149A7F4D98C9A08EBB117DCC37BAFE01A49B3ACCAB28D65848FFB74A9F637BEC510FF9B0D48B

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.

Version Downloads Last Updated Status
Dos2Unix / Unix2Dos - Text file format converters 7.4.0 342 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