Difference between revisions of "HLab:Perlscripts"
From CCGB
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
*[[Media:basicStats.txt|basicStats.pl]] | *[[Media:basicStats.txt|basicStats.pl]] | ||
− | + | line-ends | |
− | *Convert a text file between the different line end encodings for Unix, Mac, and Windows. | + | *Convert a text file between the different line end encodings for Unix, Mac, and Windows. Usage: line-ends target filename > ouput where target is one of win, mac, or unix. |
+ | *[[Media:line-ends.txt|line-ends]] | ||
+ | |||
+ | |||
+ | |||
+ | Return to [[HLab:Main|main]] |
Latest revision as of 11:19, 7 January 2015
Some small perl scripts that are generally useful.
basicStats.pl
- Compute basic statistics such as min, max, mean, median on a column of numbers in a tab delimited file or a redirected list of numbers on stdin.
- basicStats.pl
line-ends
- Convert a text file between the different line end encodings for Unix, Mac, and Windows. Usage: line-ends target filename > ouput where target is one of win, mac, or unix.
- line-ends
Return to main