[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ls quoting improvements
From: |
Mike Frysinger |
Subject: |
ls quoting improvements |
Date: |
Thu, 21 Jan 2016 14:25:57 -0500 |
in cases where the filename has a single quote in it, and no other
expandable chars (like $ or `), would it be better to use double
quotes to quote the output ?
for example, i have a file like:
My Sister's stuff.xls
the new ls quote behavior shows it like:
'My Sister'\''s stuff.xls'
double quotes would be nicer:
"My Sister's stuff.xls"
on a related note, how do you turn this off ? the `ls --help` only
shows ways to turn it on, and i don't see options from a quick scan
of the ls.c code.
-mike
signature.asc
Description: Digital signature
- ls quoting improvements,
Mike Frysinger <=