Questions tagged [whitespace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
40 views

COUNTIF and auto filter disagree about trailing spaces

I have an Excel spreadsheet. In column A I have these values at the top: Title A A␣ B B where I have used ␣ to indicate a space. Just a normal space, like you get from the spacebar. Now, to my mind ...
0
votes
1answer
65 views

How do I tell LibreOffice to use double spaces (or a free-form margin) for each new sentence?

I have written a long document in LibreOffice. I have written it like this: This is a sentence. Now begins another. Here is a third. That is, one space between each word and between each sentence. ...
0
votes
1answer
48 views

Why does telnet send CRLF when I press enter?

On the telnet provided with my system (Debian), line feeds (\n) seem to be translated to CRLF (\r\n). Specifically, if I run, e.g., netcat -l -p 3334 > file and run echo a | telnet localhost 3334 ...
0
votes
0answers
55 views

Variable-width non-breaking space in Word 2016 (including a possible solution)

I'm using Word 2016 to write articles that must keep certain words on the same line. Therefore, I work with a lot of non-breaking spaces. The articles eventually go to print (or PDF), meaning there ...
9
votes
2answers
3k views

How to remove strange space symbols in Word

I got Word files from one guy, written in Russian and convert them to HTML. These files contain some strange white-space characters, for example: This looks like small zero (I changed mode to show ...
0
votes
2answers
541 views

Replace leading tabs and spaces with sed

I want to replace leading tabs and spaces with something like <TAB> and <SPACE> respectively. But I couldn't figure out how to do it in a single pass of sed because tabs and spaces in the ...
1
vote
0answers
44 views

How can I prevent trailing whitespace being trimmed when importing a file into MemoQ 8.4?

When importing files into the translation tool "MemoQ (8.4)" in the project manager role, I've found that trailing whitespace in the source data, is trimmed. While this is re-added to the source when ...
1
vote
3answers
25k views

Too large spacing between words in word

I got too large spacing between words in word. What may be wrong in the case? I tried this and it did not help.
4
votes
1answer
209 views

Can I display whitespace characters in iTerm2

In most text editors I can display whitespace characters, e.g. tabs as arrows ⟶ , spaces as middle dots · Is it possible to do this in iTerm2?
1
vote
1answer
61 views

MatLab: Line break between arguments of a function

When writing a function with arguments in MatLab, can the arguments be separated by a line break in some way (similar to separation by whitespace characters such as space or tab being allowed)? An ...
0
votes
1answer
643 views

Split .png into multi-page pdf with imagemagick based on whitespace

Currently I have a hand written image darkened with convert -level 50x100% It contains chunks of text separated by whitespace. Simply printing the image would split handwriting in half. Is there a ...
2
votes
1answer
403 views

Highlight nbsp \xA0 in vim

I have some patterns in my vimrc to match weird characters in files such as tabs, curly quotes, em-dashes, etc. " Highlight various difficult-to-see problems :match Error / \t/ :match Error /–/ ... ...
7
votes
2answers
4k views

Unexpected duplicate directory names after expanding `%~dp0` in a BAT file

I'm on Windows 10 Enterprise x64. I have the following hierarchy of directories with a BAT file at the innermost level: C:\ dir\ my files\ run.bat The BAT file contains the following ...
1
vote
0answers
282 views

Spaces between equations and Chinese characters in Microsoft Word

I am using Microsoft Word 2007. If I insert an equation by pressing Alt+= key inside some Chinese document, there will be no space between the equation and Chinese characters. This looks too crowded(...
0
votes
1answer
91 views

pad string with spaces

I cannot figure out how to add spaces before or after a string, and then store the padded string in a variable. Printing to console works fine, but when I try to assign the result of the printf to a ...
0
votes
0answers
22 views

Win2012 - Background Application Whitespace CORRUPTION?

This is a really odd one: Could I ask any experienced Windows developers to please look at these screencaps, and advise if they've ever seen anything like this before: corrupted background whitespace, ...
0
votes
1answer
280 views

Remove spacing before tab in Microsoft Word

I want to get rid of the red marked spacing in the following demonstration: Word is placing a small amount of spacing before a tab I place at the start of a line. While this may not be very ...
1
vote
4answers
2k views

Underscore appears instead of space when typed in Notepad++

When I type space in Notepad++, an underscore appears. Can you help me with this issue?
2
votes
1answer
1k views

Spaces between parameters in a Powershell command

I want to know why when I let spaces between paramters in a powershell command I have errors : With space : (don't work) wmic desktopmonitor get screenwidth, screenheight Expression GET non valide. ...
2
votes
0answers
32 views

Any way to remove whitespace from dropdown menus in Windows 8.1/2012 R2?

I've recently transitioned from Windows 7 to a Windows 8.1 environment. In doing so, I've noticed a lot of little UI changes that I didn't anticipate. Most have actually ended up being helpful. One ...
2
votes
1answer
2k views

Remove any leading spaces (not including tabs)

I'm trying to remove leading spaces in vim but not touch tabs. For instance, if each of the lines below have a leading tab, but b_line has an additional two spaces, how can I just remove those two ...
11
votes
3answers
74k views

How can I write space in Terminal on OS X?

I have a folder name with a space between words. I tried to use cd to move into that folder but it didn't work. How can I write space in Terminal on OS X? I tried following MacBook-Pro:TestDrop ...
5
votes
1answer
3k views

Windows Batch. Append to PATH Environment Variable, when It Contains Spaces

I want to add some binaries to path for my console session and I'm doing it like so if not defined WIXTOOLKIT_IN_PATH ( set WIXTOOLKIT_IN_PATH=1 set MY_PATH=%~dp0..\tools\wix SET PATH=%...
5
votes
2answers
47k views

Replace any number of spaces using regular expressions

How can I replace any number of consecutive spaces, with, for example, a tab in a text editor supporting regular expressions (like Notepad++) To clarify: Replacing every occurrence of one or more ...
16
votes
6answers
11k views

Difference in whitespace between two files on Linux

I have two files that when I compare with diff show that every line has changed. When I compare them with diff -w (ignoring whitespace) it shows the few minimal changes that I expect. Obviously ...
11
votes
3answers
14k views

Improve display of whitespace on notepad++

Can you improve the visibility of whitespace using notepad++? I tried Settings > Style > Whitespace Symbol, and am able to change the color as needed, but I still find the symbols incredibly small ...
1
vote
0answers
217 views

How to stop sublime text from adding a new extra line at the end?

I'm on OS X and using Sublime Text 3 and it's adding a newline at the end of document after I press CMD+S, which I don't want. I have already added below line in Sublime Text user settings: "...
1
vote
1answer
1k views

Notepad++: is there a way to force it to keep the autoindented-whitespace type?

I wonder if we can force notepad++ to respect the previous whitespace character when it autoindents a new line: list[CR][LF] ····item1[CR][LF] ····item2[CR][LF] --->| (notepadd++ screenshot ...
1
vote
2answers
498 views

Adding an abbreviation for spaces in vim

I am trying to add the following abbreviation in vim, but its not working. noreabbrev <space><space> .<space> Its just like in most modern phones keypad. so can someone tell ...
6
votes
2answers
4k views

Show whitespace characters in printout

I need to render an ASCII file for printing in a way that removes ambiguity if (very unlikely) one decides to type it in and validate the signatures. I am giving the 8-bit symbol-set QR code as an ...
0
votes
1answer
416 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ((indent-...
7
votes
1answer
44k views

Word 2013 not changing footer size

I'm trying to make the space at the bottom of the page smaller so I can fit more text into it. I tried setting the footer and header to really small numbers but it doesn't seem to make a difference. ...
0
votes
1answer
256 views

Remove whitespaces from my merged batch file

I'm trying to merge multiple text files into one single file. The problem with the command below is that it creates several whitespaces in the final merged file content and can't have any spaces. How ...
74
votes
10answers
143k views

How do I automatically trim trailing whitespace with Notepad++?

I don't want to delete the empty lines completely, but I want to remove the trailing tabs and whitespaces in them. Eclipse usually does it (through a preference setting) when we save the file. For ...
0
votes
3answers
1k views

Spaces in the beginning of lines in Notepad++

Is there any reason, why Notepad++ treats spaces as an average characters and thus pushes it to a new line, instead of "hiding" them at the end of line (when line-breaking mode is of course turned on)?...
0
votes
1answer
562 views

Autohotkey for Press Space equest to Mouse Down

I've created a SpaceBar button to MouseClick but I'm having difficulties mapping SpaceBar Press state into Mouse Down using AHK. Anyone has the script? Below my current Space Mouse Click script #...
0
votes
1answer
593 views

How to sort with spaces in Excel?

How do I sort with spaces? I have spaces between my numbers and dates and names and would like to sort them without using a VBA formula.
5
votes
2answers
373 views

How can I avoid wasted space on Google searches on large monitors?

There is a lot of wasted space in Google searches (in Chrome) on my 23" monitor (1920x1080 resolution): (click image to enlarge) As you can see, less than 1/3 of the full screen width is actually ...
2
votes
2answers
7k views

Word 2010: unsolicited white space [closed]

I'm using Office Word 2010 on a Windows 7 (64 bit) OS. I've got a large document with multiple tables and images (some of which are grouped). I've managed to lock each table or image into the ...
3
votes
2answers
3k views

Showing some whitespace chars, but not all, in vim?

I'm using the set list and set listchars options in vim. I'd like to customize set listchars to display trailing spaces, etc., but not tabs. Is it possible to specify that I don't want a particular ...
50
votes
4answers
29k views

How to insert tab character in Text mode?

I have tried to parse a file language_data.txt, which is edited by Emacs. The different columns are separated by tab characters. But when I opened the file, I found that each of the tab characters ...
5
votes
2answers
2k views

How to avoid trailing spaces when you copy something from terminal?

I often copy a code snippet from a SSH terminal session where i'm logged in to some remote server and have a file opened in vim, for example to paste it here into an answer at SO. It frequently ...
2
votes
2answers
2k views

Can not stat over a file name having space in it

I m very new to shell scripting and writing a script for a project. I am having a problem while doing "stat" on a file name, to check size, which has spaces in it. The problem is that I can not write ...
2
votes
0answers
3k views

How can I specify an /EXCLUDE file with spaces in it to xcopy?

I have tried to specify an /EXCLUDE filename with spaces in it to xcopy, but it always chokes. How can I specify such a path to xcopy without copying the /EXCLUDE files into the current directory and ...
8
votes
2answers
4k views

Trim trailing newline in one-liner bash alias

I'm trying to write a simple alias on my Mac OS X terminal to copy the current working directory. I have this: alias cpwd="echo \`pwd\` | pbcopy; echo \"Copied \`pwd\`\"" Then I can just run the ...
2
votes
1answer
1k views

Vim, listchars not displaying tabs at the begin of the line

I use listcharsin my .vimrcto see the whitespace. My current setting is : set list listchars=nbsp:¤,tab:>-,trail:¤,extends:>,precedes:< And that give to me, for example this : >---Foo ...
25
votes
5answers
96k views

How to start/open a file/folder that contains space in its name through command-line?

I'm trying to use the start command in the command prompt to open files and folders, but I'm unable to open files and folders that contain space(s) in their name. I have tried the following queries (...
1
vote
1answer
990 views

How to reclaim white space in a converted microsoft word document?

After converting a document from pdf to docx I find that it's very difficult to edit anything without damaging the layout because I can't write over the existing white space. Like for example: {...
0
votes
3answers
2k views

AppleScript: how do I store folders' pathnames into an array, replacing spaces with “\ ”?

I have a folder and inside this folder there's a bunch of subfolders. Using AppleScript I wish to store the pathnames of these subfolders into an array. Here's my problem: each pathname containing " "...
5
votes
2answers
3k views

Modify Sublime Text 2 whitespace representation?

Is there a way to modify the whitespace representation characters so I can change it from dots and dashes to something else? Because I currently have whitespace characters being drawn always, it ...