view wisdom/select @ 6882:3a1f3dc57df4

<shachaf> ` >bin/cmd echo -e \'#!/bin/bash\\ncut -d "" -f 3 < /proc/$1/cmdline\'; chmod +x /tmp/hmm
author HackBot
date Tue, 16 Feb 2016 02:04:07 +0000
parents 1cece84a37ba
children 2d85a657ea4b
line wrap: on
line source

select is a very versatile construct: it waits for events, retrieves data from tables, creates a list from elements of an input list that satisfy a condition, a dropdown list element, an event for when selection changes, branches between multiple arms, conditional between two expressions, prints a text-based menu prompt in a loop, and more.