Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
c12aa6a5
Commit
c12aa6a5
authored
Feb 13, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
estrlist: improve help
parent
8cb491ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
estrlist
bin/estrlist
+9
-2
No files found.
bin/estrlist
View file @
c12aa6a5
...
...
@@ -111,10 +111,13 @@ help()
echo
"Usage:
$0
<command> [args]"
echo
"Commands:"
echo
"strip_spaces [args] - remove spaces between words"
echo
"filter_st
ip_spaces
- remove spaces from words from standart input"
echo
"filter_st
rip_spaces
- remove spaces from words from standart input"
echo
"reg_remove <PATTERN> [word list] - remove words containing a match to the given PATTERN (grep notation)"
echo
"exclude <list1> [list2] - print list2 words contains also in list1"
echo
"reg_exclude <PATTERN> [word list] - print only words not matched with PATTERN"
echo
"reg_exclude <PATTERN> [word list] - print only words not matched with PATTERN"
echo
"union [word list] - sort and remove duplicates"
echo
"list [word list] - just list word by line"
echo
"count [word list] - print word count"
echo
echo
"Examples:"
echo
"
\$
$0
reg_remove
\"
1.
\"
\"
11 12 21 22
\"
"
...
...
@@ -123,6 +126,10 @@ help()
$0
exclude
"1 3"
"1 2 3 4"
echo
"
\$
$0
reg_exclude
\"
22 1.
\"
\"
11 12 21 22
\"
"
$0
reg_exclude
"22 1."
"11 12 21 22"
echo
"
\$
$0
union
\"
1 2 2 3 3
\"
"
$0
union
"1 2 2 3 3"
echo
"
\$
$0
count
\"
1 2 3 4 10
\"
"
$0
count
"1 2 3 4 10"
}
COMMAND
=
"
$1
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment