Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

UNIX – SED Replace Tab with Space(s)

Posted on December 20, 2017 By David Kittell
sed 's/\t/     /g' tab-file.txt > no-tab-file.txt

Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces

All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

CentOS Code Fedora Mac OSX Raspberry Pi Raspbian (Raspberry Pi OS) Red Hat Ubuntu UNIX UNIX Shell Scripts Zorin OS

Post navigation

Previous post
Next post

Related Posts

Exporting the Schema from the Source Forest

Posted on July 25, 2013October 26, 2015

The LDIFDE command-line tool, which ships with Windows Server 2003 and Windows Server 2008, can be used to export the schema from the source forest. This tool creates a file that is formatted with the LDAP Data Interchange Format (LDIF). No special permissions are required to export the schema from…

Read More

Swift – System Uptime

Posted on October 18, 2017October 18, 2017

I specifically use this in an iOS app but you should be able to use this in iOS or Mac OS The first function will get the Uptime of the system in seconds while the second function will convert the seconds into a easier to read/understand format. func uptime() ->…

Read More

Calendar Event List

Posted on July 19, 2013October 26, 2015

SELECT content_title , — Get Start Date And Time – Start LEFT(REPLACE(REPLACE(CAST(content_html AS VARCHAR(250)), LEFT(CAST(content_html AS VARCHAR(250)), 116), ”), substring(REPLACE(CAST(content_html AS VARCHAR(250)), LEFT(CAST(content_html AS VARCHAR(250)), 116), ”), patindex(‘%</StartTime>%’, REPLACE(CAST(content_html AS VARCHAR(250)), LEFT(CAST(content_html AS VARCHAR(250)), 116), ”)), DATALENGTH(REPLACE(CAST(content_html AS VARCHAR(250)), LEFT(CAST(content_html AS VARCHAR(250)), 116), ”))), ”), 10) AS StartDate ,RIGHT(REPLACE(REPLACE(CAST(content_html AS…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes