shtk_list_filter man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SHTK_LIST_FILTER(3)	 BSD Library Functions Manual	   SHTK_LIST_FILTER(3)

NAME
     shtk_list_filter — Filters the elements of a list based on a pattern

LIBRARY
     shtk_import list

SYNOPSIS
     shtk_list_filter pattern [list_value1 .. list_valueN]

DESCRIPTION
     The shtk_list_filter function selects and returns the elements of the
     list provided by the arguments list_value1 to list_valueN if the match
     the given shell pattern.  Each list value must be provided as a separate
     positional parameter.

EXAMPLES
	   original="foo foobar baz frobz"
	   filtered="$(shtk_list_filter 'foo*' ${original})"
	   echo "Results: ${filtered}"

SEE ALSO
     shtk(3), shtk_list(3)

HISTORY
     shtk_list_filter first appeared in shtk 1.0.

BSD			       November 7, 2014				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net