So I think that the --regex argument should be

   '^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$'

Thanks a lot! Yes, this is the kind of feedback I need.

Next I'd like to match such regexp with the files in /etc/profile.d
that may be obtained from the Contents.gz file in the archives to
be sure that the regexp will work.

Thanks.

Reply via email to