This commit is contained in:
Ev Bogdanov 2017-01-26 19:29:57 +03:00
commit c2271ba672
43 changed files with 886 additions and 0 deletions

12
bin/c- Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env perl
# default: 1 symbol comment: #, %
# need ARGV for comments like this: //
my ($symbol) = @ARGV;
my $offset = $symbol ? length $symbol : 1;
while (<STDIN>) {
print substr $_, $offset;
}