Skip to content

Author Archives: Brian

Replace tabs in a file with two spaces with perl

Occasionally I run across a source file with tabs in it. There are many ways to remove tabs. I prefer to use perl from the command line. Replace all tabs with two spaces in a command line perl script: And, with bash, do it for all files in a directory that have a tab

Read & Discuss ยป