From 91f2617a9bbb8ee114ea6ef630996737f8fd2c59 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Feb 2016 00:37:53 -0500 Subject: eshtrans/frontend: Fix string length param expansions --- (limited to 'eshtrans') diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh index 0c13836..a9aaa6d 100644 --- a/eshtrans/frontend/lexer.esh +++ b/eshtrans/frontend/lexer.esh @@ -630,7 +630,7 @@ scan_wordexp_param_brace() res="${res#*${RS}}" c="${res%%${RS}*}" res="${res#*${RS}}" - param="${res}" + param="#${res}" lineno=$((${lineno} + ${ln_off})) # Disable modifications. mod=false -- cgit v0.9.1