File: Menu.dynamic

package info (click to toggle)
cursel 0.1.9-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 604 kB
  • ctags: 35
  • sloc: objc: 6,388; makefile: 135; ansic: 61; sh: 26
file content (12 lines) | stat: -rw-r--r-- 207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# An example of a Dynamically Created Menu
#
# $Id: Menu.dynamic,v 1.1.1.1 2000/08/04 19:28:26 stes Exp $ 
#

menu="$ARG1 Files"

`ls | regex '^('$ARG1'.*)$0$' '

name="$m0"
action=`run '$EDITOR' "$m0"`' `