Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
d9010f22
Commit
d9010f22
authored
Jul 01, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toolbox: use awk, not nawk, and fixed syntax to match older awks.
parent
ff0c8606
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
toolbox
toolbox
+3
-3
No files found.
toolbox
View file @
d9010f22
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.3
4 2003/07/01 11:58:33
sam Exp $
## $Id: toolbox,v 1.3
5 2003/07/01 12:01:22
sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -37,7 +37,7 @@ EOF
##
getfiles
()
{
nawk
'BEGIN{a=0}{if(!a&&/^'
"
$1
"
'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if(
/^[a-zA-Z]/){exit;}print $0}}'
<
"
${
srcdir
}
/Makefile.am"
|
\
awk
'BEGIN{a=0}{if(!a&&$0~/^'
"
$1
"
'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if($0~
/^[a-zA-Z]/){exit;}print $0}}'
<
"
${
srcdir
}
/Makefile.am"
|
\
tr
'\\ '
'\n\n'
|
\
sed
-ne
's/[^-$()_a-zA-Z0-9][^-$()_a-zA-Z0-9]*\([a-zA-Z]\)/\1/p'
|
\
sed
-e
"s,^,
${
srcdir
}
/,"
...
...
@@ -263,7 +263,7 @@ EOF
# this is an attempt at getting a list of plugin sources... we take the
# production and remove everything that does not contain "module", which
# means you miss $(NULL), but other variables too.
cfiles
=
`
grep
-v
'[^-_a-zA-Z0-9]*#'
${
makefile
}
|
nawk
'BEGIN{a=0}{if(!a&&/^SOURCES_'
${
plugin
}
'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if(
/^[a-zA-Z]/){exit;}print $0}}'
|
tr
'\\ '
'\n\n'
|
sed
-ne
's,/,\\\\,g; s/.*modules/modules/p'
`
cfiles
=
`
grep
-v
'[^-_a-zA-Z0-9]*#'
${
makefile
}
|
awk
'BEGIN{a=0}{if(!a&&$0~/^SOURCES_'
${
plugin
}
'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if($0~
/^[a-zA-Z]/){exit;}print $0}}'
|
tr
'\\ '
'\n\n'
|
sed
-ne
's,/,\\\\,g; s/.*modules/modules/p'
`
hfiles
=
`
for
i
in
${
cfiles
}
;
do
echo
$i
;
done
|
grep
'\.h$'
`
cfiles
=
`
for
i
in
${
cfiles
}
;
do
echo
$i
;
done
|
grep
-v
'\.h$'
`
for
dir
in
evc msvc
...
...
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