Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
1b45cd09
Commit
1b45cd09
authored
Jun 14, 2002
by
simonpj
Browse files
[project @ 2002-06-14 14:04:01 by simonpj]
Make count_lines use the in-place unlit
parent
990dd09b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/count_lines
View file @
1b45cd09
...
...
@@ -8,7 +8,7 @@
foreach
$f
(
@ARGV
)
{
if
(
$f
=~
/\.lhs$/
)
{
open
(
INF
,
"
c:/fptools-HEAD/ghc
/utils/unlit/unlit
$f
- |
")
||
die
"
Couldn't unlit
$f
!
\n
";
open
(
INF
,
"
..
/utils/unlit/unlit
$f
- |
")
||
die
"
Couldn't unlit
$f
!
\n
";
}
else
{
open
(
INF
,
"
<
$f
")
||
die
"
Couldn't open
$f
!
\n
";
}
...
...
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