forked from Lainports/freebsd-ports
ksh93u+ and v-. See github commit 0be82553e98be77238577bc0eaafda0f1cf807fe. To learn how and why our att/ast upstream made this decision see https://github.com/att/ast/issues/1464 and https://github.com/att/ast/issues/1466. The next steps will be to update shells/ksh93-devel to att/ast master. shells/ksh93 will likely be based on att/ast master at 0be82553e98be77238577bc0eaafda0f1cf807fe or some future tag or branch.
10 lines
416 B
Bash
10 lines
416 B
Bash
--- scripts/builtin_documentation.sh.orig 2019-08-30 05:32:36.000000000 -0700
|
|
+++ scripts/builtin_documentation.sh 2019-08-30 12:40:24.125856000 -0700
|
|
@@ -8,6 +8,6 @@
|
|
cmd_name=$(basename "$in_file" .1)
|
|
[ "$cmd_name" = ksh ] && continue
|
|
echo "const char sh_opt${cmd_name}[] ="
|
|
- sed -e 's/\(.*\)/ "\1\\n"/' < "$in_file"
|
|
+ sed -e 's/"//g;s/\(.*\)/ "\1\\n"/' < "$in_file"
|
|
echo ";"
|
|
done
|