GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SHTK_LIST_FILTER (3)

NAME

shtk_list_filter - Filters the elements of a list based on a pattern

CONTENTS

Library
Synopsis
Description
Examples
See Also
History

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.
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.