Question: How do I use grep to implement the following in shell script? A filename component can only contain the 26 upper case alphabets, the 26

How do I use grep to implement the following in shell script?

A filename component can only contain the 26 upper case alphabets, the 26 lower case alphabets, '.', '-' and '_' A filename component cannot start with the hyphen - Except for '.' and '..', a file name component cannot start with the dot . The length of a filename component cannot exceed 14

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!