The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
36 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?
0
votes
1answer
81 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
23 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 ...
1
vote
1answer
61 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 ...
4
votes
1answer
146 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 ...
1
vote
2answers
1k 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 ...
6
votes
3answers
4k 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
105 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: ...
0
votes
1answer
323 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
83 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 ...
0
votes
1answer
53 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
250 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 . ...
5
votes
1answer
22k 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
140 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 ...
29
votes
6answers
41k views

Is there a way in Notepad++to remove white spaces in empty lines automatically?

I don't want to delete the empty lines completely, but I want to remove the tabs and whitespaces in them. Eclipse usually does it (through a preference setting I guess) when we save the file. For ...
0
votes
2answers
152 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 ...
0
votes
1answer
194 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 ...
4
votes
2answers
218 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
1answer
552 views

Word 2010: unsolicited white space

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
2k 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 ...
3
votes
2answers
834 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 ...
1
vote
2answers
691 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
2k 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 ...
5
votes
2answers
2k 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
527 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 ...
15
votes
4answers
38k 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
315 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
1k 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 " ...
4
votes
2answers
2k 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 ...
1
vote
1answer
1k views

How to remove leading whitespace from file and folder names?

How to remove leading whitespace from file and folder names? (I'm running OS X 10.6 Snow Leopard.) As provided below by @Lri I was able to remove trailing whitespace using this: #!/bin/bash ...
0
votes
2answers
550 views

Search recursively for a string containing whitespaces

I want to search for "this table..." string under /home/myuser directory recursively, ie in all files under /home/myuser and in all directories and sub-directories under /home/myuser. /home/myuser ...
3
votes
1answer
445 views

What is the whitespace indicated with a dot in TextMate?

In the screenshot of TextMate below, I turned on "Show Invisibles." What's the whitespace character on the third line? Text I imported from somewhere has these dot spaces, and I'm trying to figure ...
0
votes
1answer
647 views

How to remove trailing whitespace from file extensions and folders snow?

How can I remove trailing whitespace from file extensions and folders in snow leopard ? Ideally I would be able to run a single command within a directory that would search and remove for all files ...
0
votes
1answer
1k views

Word 2010: Remove space before citation

When I insert a citation into my document (testing with the IEEE 2006 style here), I end up with something like this: This is some text ( [1], [2]) As you can see Word 2010 adds a space between ...
1
vote
4answers
678 views

sed removal of whitespace

I find that sed often fails to pattern-match whitespace. Consider the following examples: echo 'A B C' | sed 's/[ \t]*//g' ABC echo -e 'A\tB\tC' | sed 's/[ \t]*//g' A B C perl ...
0
votes
2answers
901 views

How to make VI use spaces instead of tab even when I press backspace key?

When I tried to use yml, it requires NO TAB, ONLY SPACE policy. I realized I need a special setting for this. Anyway, I can't live without tabs. So I want to make my VI behave like this. When I ...
2
votes
3answers
10k views

Merging and re-formatting paragraphs in Microsoft Word 2007

After a copy/paste mishap in Microsoft Word 2007, I ended up with text looking like this: This line breaks up here continues here, and so on here, when it should all be in a single line ...
2
votes
1answer
133 views

Remove Lines in VIM with Only Whitespace

Is there a vim idiom for removing all lines from a file that have only whitespace (including newlines)?
7
votes
4answers
1k views

Is there a way to not select whitespace after a word when double-clicking?

In Windows, it seems the default behavior when double-clicking a word is to select the word, and any whitespace following the word (spaces or tabs). You can see this behavior across all programs, so ...
6
votes
2answers
23k views

Delete whitespace left and right in Notepad++

In Notepad++, is there a hotkey to wipe all white space left and right of the cursor? I'd imagine it would be the same as "delete current word", but I can't find it. Ctrl + Del deletes to the end ...
32
votes
2answers
5k views

Jump to first non-whitespace character in line in emacs

I'm looking for the emacs equivalent of vi's ^. How can I move my cursor to the first non-whitespace character in a line?
2
votes
1answer
10k views

sed to remove all whitespace from a line

I want to use sed to remove all space characters from a text file. At present I am using this command: sed 's/ //' test.txt > test2.txt This works in the sense that it removes the first space ...
112
votes
4answers
138k views

How to match whitespace in sed?

How can I match whitespace in sed? In my data I want to match all of 3+ subsequent whitespace characters (tab space) and replace them by 2 spaces. How can this be done?
7
votes
1answer
4k views

how can I tell vimdiff to ignore whitespace?

I made a number of changes in a file I'm working on, including indentation changes. I'm using vimdiff to compare the file to the original version, and I don't want to see these changes, since they're ...