Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [special-characters]

If it has a meaning beyond its literal meaning, a meta-meaning, then we refer to it as a special character.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
39 views

How to avoid bash from accepting non-printable characters at the prompt?

I recently ran a command at my shell: # yum whatprovides xdotool Error: No Matches found However, my package manager actually has this package: # yum whatprovides xdotool xdotool-1:3.20150503.1-7....
3
votes
0answers
309 views

Control characters in a terminal with an active foreground process

Say I have a process running in a terminal in the foreground. While it is active I can type commands, hit return, and those will be executed once the process is done. Now say furthermore I would like ...
3
votes
0answers
2k views

Kate can't show some newline characters using escape sequences

Kate and KWrite both don't show all \n characters. Problems appear to be next to where there are empty lines. The problem isn't just in the highlighting itself. Wrong number of matches are found. ...
3
votes
2answers
41 views

less: search, but ignoring special characters

I'm trying to view large log files. I have a complex shell script that will take a log file and run it through a tangle of text-mangling commands to insert formatting and colouring, and pipe the ...
2
votes
0answers
72 views

How to write romanian special characters with groff?

I've got myself into experimenting with groff and from the start I found out the romanian special characters I type in vim are all fine (I ran setxkbmap ro), but get messed up in the pdf export. ...
2
votes
0answers
656 views

Question marks in filenames and Samba

I have smbd version 3.6.6 on Linux and mount the share on a FreeBSD system with mount_smbfs. When I try to copy (cp) a filename containing a question mark, I will get the error: No such file or ...
2
votes
1answer
36 views

Deactivate DCS contol character

Esoteric characters in filenames sometimes lead to weird errors. I recently backed up files with rsync, noticing that some minutes into the process, all status output stopped. Investigating further, I ...
2
votes
0answers
74 views

Can gschem (gEDA) print special characters (aka other than the “micron” symbol µ)?

I prefer to show low resistance values as 2Ω2 rather than 2.2 in my schematics. However when I print schematics and that character occurs, the printed version has a space instead of the omega symbol. ...
2
votes
0answers
312 views

Generating 'ASCII-art' banners with arrows

I recently discovered figlet which generates ASCII-art banners. Joy! ... but, alas, I want a banner with an arrow on it. Now... $ figlet unicode → arrow _ _ //\ ...
2
votes
1answer
363 views

“render” textfile with carriage returns (^M) and save output to file

I have a Python CLI program that runs for a long time and has a sort of progressbar, which basically prints some text in the loop without "\n" at the end, at the next iteration it prints "\r" to erase ...
2
votes
0answers
497 views

Locate enscript reported non-printable chars

I'm making a postscript of a bunch of C code, and enscript reports I have 2 non-printable chars [ 91 pages * 1 copy ] left in a.ps 2 non-printable characters non-printable character codes (decimal): ...
1
vote
0answers
16 views

How to avoid and recover shell command history from an unwanted incursion of non-printable characters?

$ history ... 242 yum whatprovides */bin/xdotool 243 yum provides */bin/xdotool 244 yum provides xdotool 245 yum whatprovides xdotool 246 yum whatprovides xdotool At the prompt: up [...
1
vote
0answers
86 views

Question regarding hacked machine and special characters in filename

I'm doing a little bit of forensics on a machine that has apparently been hacked. (Thanks, systemd and your resolv buffer overflow thing. That was awesome. :/ ) Anyhow, I have a pair of 0-length ...
1
vote
0answers
152 views

Tab character in exiftool

I need to insert tab character on place of _ between day and hour. exiftool -T -r -filename -CreateDate -d "%Y%"."%m%"."%d_%H%"."%M%"."%S" /Users/***/***/testmapa/mapa2/ > /Users/***/***/testmapa/...
1
vote
2answers
889 views

How to printf an exclamation point in tcsh?

What's the best way to printf an exclamation point in tcsh? It seems like using single or double quotes has no effect on escaping the exclamation point; and using a backspace does work, but then it ...
0
votes
1answer
43 views

“script” command saves unnecessary letters

When using script to save all of the terminal output, I see strange characters in the saved files, such as [K, [0m, [KM, [C to name a few. While I cat or more the file I don't seem to see this, it's ...
0
votes
1answer
91 views

Extract lines from character to character in a loop

I have this line here and it works great to extract lines from a character to a second character (excluding the last line): sed -n -e '/>AB123|x2/,/>/ p' filename | sed -e '$d' > output ...
0
votes
1answer
200 views

Listing a file with strange characters on DD-WRT embedded Linux

When SSHing into my DD-WRT router (Buffalo WHR-HP-G54) with embedded Linux to browse the DHCP Lease list I get strange characters: ~ # more /tmp/udhcpd.leases x▒_▒▒ ▒▒iPhone-de-Tomaz▒ ...
0
votes
1answer
466 views

How do I remove a special character in a file?

I had to use OCR to get the text of a very large script I did not want to type by hand. I have multiple lines like this echo "<91>ps <97>eF|grep... It should read; echo "`ps -eF|grep......
-1
votes
1answer
716 views

how to search for special characters starting with ~(tild) in vi

when I want to search for special character ^H in vi, I use Ctrl+V, Ctrl+H in sequence. If I want to search for special characters displayed like ~@~X, how can I search those characters? (like figure ...