Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
fja
eval
Commits
5030af0d
Commit
5030af0d
authored
Jul 15, 2020
by
Kateřina Sloupová
Browse files
conversion of tasks: add removing of -N
parent
9ed4371e
Pipeline
#62575
passed with stage
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
convert_qdefx.sh
View file @
5030af0d
...
...
@@ -15,7 +15,10 @@ for i in "$@"; do
# first regex replaces definition inside the ebmedded old QDEF format,
# which is not really used, but should be kept in sync
# the second one prelaces the proper definition in the new format
# the third one removes unnecessary "-N" from task prefix
sed
-i
-e
's/^:\(e[^=]*\)="f:/:\1="d:?/'
\
-e
's|\(<check><type>external</type><service>\)f\(</service><correct><!\[CDATA\[\)|\1d\2?|'
\
$i
sed
-i
-E
's/([A-Z]{3}-[A-Z]{3})-N/\1/g'
$i
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment