Skip to content
  • Joey Hess's avatar
    filter out control characters and quote filenames · df6f9f1e
    Joey Hess authored
    Searched for uses of putStr and hPutStr and changed appropriate ones to filter
    out control characters and quote filenames.
    
    This notably does not make find and findkeys quote filenames in their default
    output. Because they should only do that when stdout is non a pipe.
    
    A few commands like calckey and lookupkey seem too low-level to make sense to filter
    output, so skipped those.
    
    Also when relaying output from other commands that is not progress output,
    have git-annex filter out control characters.
    
    Sponsored-by: k0ld on Patreon
    df6f9f1e