How to find control characters in a fileFind a file that doesn't include specific charactersSearch and...

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Does it matter what way the tires go if no directional arrow?

Formal Definition of Dot Product

God-Pharaoh's Statue and Finale Of Promise

With today's technology, could iron be smelted at La Rinconada?

What is the status of the Lannisters after Season 8 Episode 5, "The Bells"?

Testing blind license applicants

Assembly writer vs compiler

How will the lack of ground stations affect navigation?

Is there any good reason to write "it is easy to see"?

What is this weird d12 for?

Could a space colony 1g from the sun work?

labelled end points on logic diagram

Are there microwaves to heat baby food at Brussels airport?

Why did Varys remove his rings?

Why does SSL Labs now consider CBC suites weak?

Why did the UK remove the 'European Union' from its passport?

Will there be more tax deductions if I put the house completely under my name, versus doing a joint ownership?

Why were the bells ignored in S8E5?

What do the "optional" resistor and capacitor do in this circuit?

Why are goodwill impairments on the statement of cash-flows of GE?

Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?

Does addError() work outside of triggers?

What dog breeds survive the apocalypse for generations?



How to find control characters in a file


Find a file that doesn't include specific charactersSearch and replacing strings in a numerical data fileHow to search for text in a file ignoring newlines?Find files containing a set of wordsHow to find files their names, name of files are in one file?grep on interactive programKate can't show some newline characters using escape sequencesWhy is an explicit LANG=C required when searching for hex representations of characters in grep?How do I grep many files for many strings?Searching for URLs with subdomains using grep






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I want to find what control characters are in my file. I do not search for specific character, but it is possible t or n. I have a program that is telling me: Invalid control character. But when I open the file I do not see anything. How to show these characters? I suspect n or t or some characters that adds spaces.



I tried: grep 'n' myfile.txt But in the output it marked the n letter.










share|improve this question























  • Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

    – danieldeveloper001
    19 mins ago


















0















I want to find what control characters are in my file. I do not search for specific character, but it is possible t or n. I have a program that is telling me: Invalid control character. But when I open the file I do not see anything. How to show these characters? I suspect n or t or some characters that adds spaces.



I tried: grep 'n' myfile.txt But in the output it marked the n letter.










share|improve this question























  • Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

    – danieldeveloper001
    19 mins ago














0












0








0








I want to find what control characters are in my file. I do not search for specific character, but it is possible t or n. I have a program that is telling me: Invalid control character. But when I open the file I do not see anything. How to show these characters? I suspect n or t or some characters that adds spaces.



I tried: grep 'n' myfile.txt But in the output it marked the n letter.










share|improve this question














I want to find what control characters are in my file. I do not search for specific character, but it is possible t or n. I have a program that is telling me: Invalid control character. But when I open the file I do not see anything. How to show these characters? I suspect n or t or some characters that adds spaces.



I tried: grep 'n' myfile.txt But in the output it marked the n letter.







files grep string search






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 40 mins ago









user9371654user9371654

34318




34318













  • Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

    – danieldeveloper001
    19 mins ago



















  • Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

    – danieldeveloper001
    19 mins ago

















Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

– danieldeveloper001
19 mins ago





Hi! I think you can probably have some control characters in your file, is this page helpful somehow?

– danieldeveloper001
19 mins ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518974%2fhow-to-find-control-characters-in-a-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518974%2fhow-to-find-control-characters-in-a-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...