• Skip to primary navigation
  • Skip to content
  • Skip to footer
Wannabe Exceptional
  • About
  • Slides

    Change DOS to UNIX Line Ending

    How to change line ending format

    less than 1 minute read

    Jan Peter Alexander

    Jan Peter Alexander

    There is nothing certain than the uncertainty itself. Capture, learn and mitigate. Welcome!

    • Planet Earth
    • Website
    • Twitter
    • Facebook
    • Instagram
    • Tumblr
    • GitHub
    • Last.fm
    • Steam
    • YouTube
    • Soundcloud

    How to change line ending format

    for file in *.cpp
    do 
        vi +':w ++ff=unix' +':q' "$file"
    done
    

    Source: https://stackoverflow.com/a/95650

    Tags: bash

    Categories: notes

    Updated: May 6, 2019

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Setup Passkey in Firefox using KeepassXC

    less than 1 minute read

    How to setup passkey in Firefox.

    Setup React Native without Android Studio

    1 minute read

    Setup React Native without Android Studio

    Make New GIT Branch from Commit ID

    less than 1 minute read

    Make a New Git Branch from Commit ID

    Reverse Tethering

    less than 1 minute read

    Reverse tethering via USB

    • Feed
    © 2025 Wannabe Exceptional. Powered by Jekyll & Minimal Mistakes.