ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gtkbfc/gtkbfc-helper
(Generate patch)

Comparing gtkbfc/gtkbfc-helper (file contents):
Revision 1.6 by root, Wed Aug 15 15:44:41 2007 UTC vs.
Revision 1.9 by root, Sat Aug 18 13:54:45 2007 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3export PROMPT="$1" 3export PROMPT="$1"
4 4
5exec 5>&1
6urxvt -geometry 120x16 -transient-for "$2" +sb -e bash -c ' 5exec urxvt -geometry 120x16 -transient-for "$2" +sb -e bash -c '
7 echo "gtk bash file chooser" 6 echo "gtk bash file chooser"
8 echo "cwd: $PWD" 7 echo "cwd: $PWD"
9 read -p "$PROMPT" -e 8 read -p "$PROMPT" -e
9 REPLY=$(eval echo "$REPLY")
10 case "$REPLY" in
10 printf "%s" "$REPLY" >&5 11 /* ) printf "%s" "$REPLY" >&5 ;;
11' 12 * ) printf "%s/%s" "$PWD" "$REPLY" >&5 ;;
13 esac
14' 5>&1
12 15

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines