Skip to content

Commit

Permalink
Fix up dc options
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Apr 25, 2024
1 parent e012fa7 commit 8cf8734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/dc
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ main() {
;;
options)
perl -nE 'say $1 =~ s/"//gr =~ s/\s*\|\s*/\n/gr' \
-E 'if /^ {8}"?([a-zA-Z0-9_ "|\\-]+)"?(?:\)|\s*\|\s*\\)$/' \
-E 'if /^ {2}"?([a-zA-Z0-9_ "|\\-]+)"?(?:\)|\s*\|\s*\\)$/' \
-E '&& $1 !~ /^_/' <"$0"
;;
*)
Expand Down

0 comments on commit 8cf8734

Please sign in to comment.