| Revision: | 1.11 |
| Committed: | Thu Oct 9 07:35:43 2008 UTC (17 years, 11 months ago) by root |
| Branch: | MAIN |
| CVS Tags: | HEAD |
| Changes since 1.10: | +2 -0 lines |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | root | 1.1 | #!/bin/bash |
| 2 | |||
| 3 | root | 1.3 | export PROMPT="$1" |
| 4 | root | 1.11 | export XID="$2" |
| 5 | export FILENAME="$3" | ||
| 6 | root | 1.2 | |
| 7 | root | 1.9 | exec urxvt -geometry 120x16 -transient-for "$2" +sb -e bash -c ' |
| 8 | root | 1.4 | echo "gtk bash file chooser" |
| 9 | echo "cwd: $PWD" | ||
| 10 | root | 1.10 | read -p "$PROMPT" -e -r |
| 11 | root | 1.8 | REPLY=$(eval echo "$REPLY") |
| 12 | root | 1.7 | case "$REPLY" in |
| 13 | /* ) printf "%s" "$REPLY" >&5 ;; | ||
| 14 | * ) printf "%s/%s" "$PWD" "$REPLY" >&5 ;; | ||
| 15 | esac | ||
| 16 | root | 1.9 | ' 5>&1 |
| 17 | root | 1.1 |