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

Comparing gtkbfc/gtkbfc-helper (file contents):
Revision 1.5 by root, Wed Aug 15 15:41:09 2007 UTC vs.
Revision 1.8 by root, Sat Aug 18 10:54:13 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines