i've made some additions to the file to explain the source code
This commit is contained in:
parent
2fe12ac7dc
commit
61476b59b7
3 changed files with 6 additions and 1 deletions
2
eko.c
2
eko.c
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
int main( int argc, char **argv)
|
int main( int argc, char **argv)
|
||||||
{
|
{
|
||||||
// register ne sert plus de nos jours
|
// register is a bit useless nowadays
|
||||||
register int i, nflg;
|
register int i, nflg;
|
||||||
nflg = 0;
|
nflg = 0;
|
||||||
// Le flag "n" sert à rajouter un saut de ligne
|
// Le flag "n" sert à rajouter un saut de ligne
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// This file displays the GDMSESSION environment variable
|
||||||
|
// Try with others if you want, you know how to now
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
2
wc.pl
2
wc.pl
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
# This script displays the number of lines in a file
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
die "un argument svp ! " if !defined ($ARGV[0]);
|
die "un argument svp ! " if !defined ($ARGV[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue