Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
eb7b178c
Commit
eb7b178c
authored
Mar 20, 2003
by
Sam Hocevar
Browse files
* ./toolbox: fixed a Makefile parsing bug.
parent
85581372
Changes
1
Hide whitespace changes
Inline
Side-by-side
toolbox
View file @
eb7b178c
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.1
8
2003/03/
18 02:21:47 ipkiss
Exp $
## $Id: toolbox,v 1.1
9
2003/03/
20 10:06:16 sam
Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -38,7 +38,7 @@ getfiles()
{
awk
'BEGIN{a=0}{if(!a&&/^'
"
$1
"
'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if(/^[a-zA-Z]/){exit;}print $0}}'
< Makefile.am |
\
tr
'\\ '
'\n\n'
|
\
sed
-ne
's/[^-$_a-zA-Z0-9][^-$_a-zA-Z0-9]*\([a-zA-Z]\)/\1/p'
sed
-ne
's/[^-$
()
_a-zA-Z0-9][^-$
()
_a-zA-Z0-9]*\([a-zA-Z]\)/\1/p'
}
###
...
...
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