Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

Commit c7b7b60

Browse files
author
js-d-coder
committed
Fix broken link, add features explanation
1 parent 0279e33 commit c7b7b60

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# lsi (a command-line utility)
22

3-
ls command alternative (not a replacement). Output is either cleanly formatted table or string of null terminated file names parseable by xargs command. Default behaviour is to show only non-hidden files and directories of directory passed or current directory if no directory is given, in table format.
3+
`ls` command alternative (not a replacement). Output is either cleanly formatted table or string of null terminated file names parseable by xargs command. Default behaviour is to show only non-hidden files and directories of directory passed or current directory if no directory is given, in table format.
4+
It attempts to solve some problems with traditional UNIX ls command:
5+
6+
* Output is in table format and not garbled like in traditional UNIX `ls` command. (See screen shot below)
7+
* File names is _single qouted_ to help distinguish files with spaces in their names. (See screen shot below)
8+
* You can safely parse its output. (See explanation below)
9+
10+
Any improvement or feature addition request is most welcome. I will be adding more features myself in future.
11+
412
Written in Python for UNIX like OS
513
Requires Python version 3.3 or later
614
Version 2
@@ -79,7 +87,7 @@ optional arguments:
7987
'dir6/' 'dir5/' 'dir4/' 'dir3/' 'dir2/'
8088
'dir1/'
8189

82-
[You should not parse the output of `ls` command,](http://www.mywiki.wooledge.org/ParsingLs) but **you can safely parse the output of `lsi`**
90+
[You should not parse the output of `ls` command,](https://mywiki.wooledge.org/ParsingLs) but **you can safely parse the output of `lsi`**
8391

8492
# move all hidden files to hidden-files directory
8593
$ lsi -ifx | xargs -r0 mv -t hidden-files

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /