Skip to main content

Questions tagged [whitespace]

combination of spaces, tabs, or newlines which create "empty" space in a line or column

0 votes
2 answers
88 views

The following question likely does not relate specifically to Vim. I use a Vim example, as this is where I encounter the issue. Working on Ubuntu, I often open multiple files in Vim using tab pages: $ ...
user7543's user avatar
  • 266
1 vote
1 answer
102 views

I have the following simple shell command: for x in $(echo one two three); do echo $x; done When executed, it simply prints one two three on one line, i. e. the result of the command substitution is ...
René Nyffenegger's user avatar
1 vote
1 answer
76 views

$ ls cn* cn blah blah.txt $ ls cn\ * ls: cannot access 'cn *': No such file or directory $ ls cn*|hexdump -C 00000000 63 6e e2 80 85 62 6c 61 68 c2 a0 62 6c 61 68 2e |cn...blah..blah.| 00000010 74 ...
Remi Arntzen's user avatar
0 votes
1 answer
48 views

I'm confronted with an escape challenge: The process: Step 1 - the file retrieval: Within bash, find command will be invoked. Find commands output is 1 single file with a path like this: ./vacation/...
user avatar
0 votes
3 answers
833 views

I have written a script that replaces a string, but I need to add the 10 whitespace characters back. I can add it back by pressing space 10 times, and that works, but this looks hideous in my script. ...
user898458's user avatar
0 votes
2 answers
94 views

In the nano text editor, I can pipe the selection into a command, and I quite often need to center text, so I came up with the following code center() { str=$1 # Strip leading and trailing ...
user avatar
0 votes
5 answers
410 views

I use Bash I wrote a command for printing only docker id separate with whitespaces on one line. docker ps -a | grep -E '^[a-z0-9]{12}' -o | awk '{printf "%s ",$0} END {print ""}' ...
Admineral's user avatar
  • 421
1 vote
1 answer
1k views

When I copy and paste text from the clipboard, the code looks like [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ...
siralbert's user avatar
  • 125

15 30 50 per page
1
2 3 4 5
12