line that has no number in it

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have a file named textfile and has a content:



420_DA6_AB_ClassExercise1_2018.docx
420_DA6_AB_ClassExercise2_2018.docx
A Newbies Initiation To Linux.pdf
Exercises UNIX Chapter 1.pdf
Linux Handout 2018 - Chapter 1.pdf
Linux Handout 2018 - Chapter 2.pdf
Linux Handout 2018 - Chapter 3.pdf
Linux Handout 2018 - Chapter 4.pdf
Linux Handout 2018 - Chapter 5.pdf
Linux Handout 2018 - Chapter 6.pdf
SSHSecureShellClient-3.2.9.exe


How can I search a line that has no numbers in it?







share|improve this question


















  • 2




    grep -v [0-9] filename
    – Terrance
    May 16 at 12:53






  • 1




    ... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
    – steeldriver
    May 16 at 13:00














up vote
0
down vote

favorite












I have a file named textfile and has a content:



420_DA6_AB_ClassExercise1_2018.docx
420_DA6_AB_ClassExercise2_2018.docx
A Newbies Initiation To Linux.pdf
Exercises UNIX Chapter 1.pdf
Linux Handout 2018 - Chapter 1.pdf
Linux Handout 2018 - Chapter 2.pdf
Linux Handout 2018 - Chapter 3.pdf
Linux Handout 2018 - Chapter 4.pdf
Linux Handout 2018 - Chapter 5.pdf
Linux Handout 2018 - Chapter 6.pdf
SSHSecureShellClient-3.2.9.exe


How can I search a line that has no numbers in it?







share|improve this question


















  • 2




    grep -v [0-9] filename
    – Terrance
    May 16 at 12:53






  • 1




    ... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
    – steeldriver
    May 16 at 13:00












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a file named textfile and has a content:



420_DA6_AB_ClassExercise1_2018.docx
420_DA6_AB_ClassExercise2_2018.docx
A Newbies Initiation To Linux.pdf
Exercises UNIX Chapter 1.pdf
Linux Handout 2018 - Chapter 1.pdf
Linux Handout 2018 - Chapter 2.pdf
Linux Handout 2018 - Chapter 3.pdf
Linux Handout 2018 - Chapter 4.pdf
Linux Handout 2018 - Chapter 5.pdf
Linux Handout 2018 - Chapter 6.pdf
SSHSecureShellClient-3.2.9.exe


How can I search a line that has no numbers in it?







share|improve this question














I have a file named textfile and has a content:



420_DA6_AB_ClassExercise1_2018.docx
420_DA6_AB_ClassExercise2_2018.docx
A Newbies Initiation To Linux.pdf
Exercises UNIX Chapter 1.pdf
Linux Handout 2018 - Chapter 1.pdf
Linux Handout 2018 - Chapter 2.pdf
Linux Handout 2018 - Chapter 3.pdf
Linux Handout 2018 - Chapter 4.pdf
Linux Handout 2018 - Chapter 5.pdf
Linux Handout 2018 - Chapter 6.pdf
SSHSecureShellClient-3.2.9.exe


How can I search a line that has no numbers in it?









share|improve this question













share|improve this question




share|improve this question








edited May 16 at 12:54









Yaron

8,41771838




8,41771838










asked May 16 at 12:46









Sasa Kulot

1




1







  • 2




    grep -v [0-9] filename
    – Terrance
    May 16 at 12:53






  • 1




    ... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
    – steeldriver
    May 16 at 13:00












  • 2




    grep -v [0-9] filename
    – Terrance
    May 16 at 12:53






  • 1




    ... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
    – steeldriver
    May 16 at 13:00







2




2




grep -v [0-9] filename
– Terrance
May 16 at 12:53




grep -v [0-9] filename
– Terrance
May 16 at 12:53




1




1




... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
– steeldriver
May 16 at 13:00




... although I'd suggest quoting the expression '[0-9]' to avoid surprises if the directory happens to contain a single-digit named file
– steeldriver
May 16 at 13:00















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036949%2fline-that-has-no-number-in-it%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036949%2fline-that-has-no-number-in-it%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error