Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
GIMP
Commits
a36ef3fc
Commit
a36ef3fc
authored
Aug 05, 1998
by
Sven Neumann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Might be useful ...
--Sven
parent
ec78557f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
plug-ins/script-fu/convert-script
plug-ins/script-fu/convert-script
+21
-0
No files found.
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
Markdown
is supported
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