Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 06-28-2019, 03:04 AM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 129,673

Rep: Reputation: 118Reputation: 118
LXer: Leading and trailing whitespace

Published at LXer:

Googling the phrase "trailing whitespace" is like googling "coffee stains": you mainly get "how to remove" recipes. There are procedures for deleting trailing whitespace in C, Python, Vim, PHP, Java, Visual Studio, R, C++, JavaScript, etc etc. Nobody wants trailing whitespace in their code. Trailing (and leading) whitespace, though, isn't a big deal in data tables. This post explains how to find and delete it (if necessary) when it occurs inside fields.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing double quotes and trailing blanks via sed and getting unterminated `s' comma rubster Programming 6 10-19-2012 12:51 PM
[SOLVED] bind9 config files: leading whitespace requirements? catkin Linux - Server 10 04-22-2011 11:56 AM
smb server/client and trailing dot(s) sbassett Linux - Server 0 02-24-2007 11:55 AM
QUERY: strip trailing whitespace ... woes :S kevingpo Programming 3 02-20-2006 08:15 AM
Trailing whitespaces ( space char) and Ncurses terminal refreshes bretzeltux Programming 0 03-02-2004 02:47 PM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration