rcconf (052f89691c59e17ffd322a793a3d298e66f51278) | rcconf (f4844f65a9213b76ff8cf3cc0c9d881631c34c3a) |
---|---|
1#!/bin/sh 2#- 3# Copyright (c) 2012-2013 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 144 unchanged lines hidden (view full) --- 153 desc = ENVIRON["_" var "_desc"] 154 gsub(/'\''/, "'\''\\'\'\''", desc) 155 printf " '\''%s'\''", desc 156 } 157 printf "\n" 158 }' 159 )" 160 | 1#!/bin/sh 2#- 3# Copyright (c) 2012-2013 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 144 unchanged lines hidden (view full) --- 153 desc = ENVIRON["_" var "_desc"] 154 gsub(/'\''/, "'\''\\'\'\''", desc) 155 printf " '\''%s'\''", desc 156 } 157 printf "\n" 158 }' 159 )" 160 |
161 set -f # noglob | 161 set -f # set noglob because descriptions in the $menu_list may contain 162 # `*' and get expanded by dialog(1) (doesn't affect Xdialog(1)). 163 # This prevents dialog(1) from expanding wildcards in help line. |
162 163 local height width rows 164 eval f_dialog_menu${SHOW_DESC:+_with_help}_size \ 165 height width rows \ 166 \"\$DIALOG_TITLE\" \ 167 \"\$DIALOG_BACKTITLE\" \ 168 \"\$prompt\" \ 169 \"\$hline\" \ --- 92 unchanged lines hidden --- | 164 165 local height width rows 166 eval f_dialog_menu${SHOW_DESC:+_with_help}_size \ 167 height width rows \ 168 \"\$DIALOG_TITLE\" \ 169 \"\$DIALOG_BACKTITLE\" \ 170 \"\$prompt\" \ 171 \"\$hline\" \ --- 92 unchanged lines hidden --- |