GNU `ls` has `--quoting-style` option, what's the equivalent in BSD `ls` -
GNU `ls` has `--quoting-style` option, what's the equivalent in BSD `ls` -
i utilize ls output pipe input, need escape file name. when utilize gnu ls, works well. what's equivalent in bsd ls? hoping output this.
$ gls --quoting-style escape t*1 text\ 1 text1
why are/were trying utilize ls in pipeline? should using find (maybe -print0 , xargs -0, or -exec).
i suppose utilize ls -1f , run output through vis (or similar filter) appropriate options add together necessary quoting or escaping of choice, without knowing feeding filenames into, , (if any) other options want utilize ls, it's impossible give much improve guidance.
ls bsd
Comments
Post a Comment