Re: ls lacking a feature?



Steve O'Hara-Smith <steveo@xxxxxxxxxx> wrote:
Roberto Waltman <usenet@xxxxxxxxxxxx> wrote:

touch '**x*'

alias lsx='ls -F | grep "*" | tr -d "*"'

touch @@x@

alias lsl='ls -F | grep @ | tr -d @'

Ooops :)

Agreed, not foolproof. I never use those characters in filenames I
create though. Well keep my eyes open for false positives. :)
.



Relevant Pages

  • Re: spaces in filenames ?
    ... an assumption about the characters allowed in a filename. ... filenames don't contain newline characters (but beware that once ... IFS=" ...
    (comp.unix.questions)
  • Re: Mac file NAMING that doesnt work on PCs
    ... Mac documents folder to that server once and was rejected because my ... several characters which have special meanings on Windows and therefore ... Colon separates the drive letter from the rest of the pathname. ... Quotes are used to delimit filenames containing spaces. ...
    (comp.sys.mac.system)
  • Re: FTPFindFirstFile unicode
    ... window; the hex for the text in the lower window appears below that window. ... be encoded using 520 characters in UTF-8, and this might be where the problem is. ... It works fine for filenames that have english ...
    (microsoft.public.vc.mfc)
  • Re: FTPFindFirstFile unicode
    ... you should see "readable" characters for the UTF-8 ... window; the hex for the text in the lower window appears below that window. ... It works fine for filenames that have english ...
    (microsoft.public.vc.mfc)
  • Re: Long File Names used to be OK--now Windows doesnt like them! W
    ... File names in XP can have up to 255 characters. ... Many CD-R mastering programs limit the length of the filenames that can be ... MS-MVP Windows Shell/User ...
    (microsoft.public.windowsxp.general)