/me man (vip3r) wrote in linux,
/me man
vip3r
linux

Born again

Hey guys, i'm just stuck with a problem. How can I using bash2 as my command interpreter match any filename _not_ starting with _sequence_ of symbols? For example "[!d]*" match any filename not starting with "d" (not "d*"). "[!di]*" (or "[!d!i]*" or "[!'di']*" or "[!"di"]*" or with "^" instead of "!" ) matching any filename not starting with "d" or "i". "[!d][!i]*" matching any filename not starting with "d" or filename not with second "i" (not "?i*"). May be it's time to look towards [zk]sh or else, if so i'd like to see solution to with problem with new shell. Any help will be you know what.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 8 comments