File: clist2c.pl

package info (click to toggle)
libraw 0.19.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,396 kB
  • sloc: cpp: 39,147; ansic: 23,363; perl: 145; makefile: 87; sh: 77
file content (12 lines) | stat: -rwxr-xr-x 148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl

while (<>)
  {
    chomp;
    s/^\s+//;
    s/^\s+\*\s+//;
    s/^\s+//;
    s/\"/\\\"/g;
    s/\s+$//;
    print "\"$_\",\n";
  }