Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
a36ef3fc
Commit
a36ef3fc
authored
Aug 05, 1998
by
Sven Neumann
Browse files
Might be useful ...
--Sven
parent
ec78557f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plug-ins/script-fu/convert-script
0 → 100755
View file @
a36ef3fc
#!/usr/bin/perl
#
# Convert a script from the 1.0 Script-Fu interface to the new API
#
# ( This script is simple hack but may be useful for someone, so )
# ( I include it here. It is not meant to be distributed with a )
# ( gimp release. Sven Neumann <sven@gimp.org> )
#
#
# Changes so far are:
# - Use SF-STRING instead of SF-VALUE where appropriate
#
while
(
<>
)
{
if
(
/SF-VALUE/
)
{
if
(
s/\"\\\"(.*)\\\"\"/\"$1\"/
)
{
s/SF-VALUE/SF-STRING/
;
}
}
print
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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