BOL
Log in
Username or email
Password
Remember me
Register
Lost password
Activity
News
Opportunity
ResearchLabs
Questions
Pages
Discussion
More
BioScripts
Blogs
Bookmarks
Files
Fun
Groups
Polls
The Wire
Tryst
Videos
Shruti Paniwala
@shruti
Shruti Paniwala
A Bioinformatician
Blogs
Bookmarks
Files
Fun
News
Opportunity post
Pages
Polls
ResearchLabs post
Tryst
Videos
Wire posts
Navigation
PerlOneLiner for Bioinformatician
Latest comments
No comments
Tag cloud
perl
,
perloneliner
,
onelioner
All site tags
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
Pages
Shruti Paniwala
Shruti Paniwala's pages
Public
History
PerlOneLiner for Bioinformatician
Last updated
2533 days ago
by
Shruti Paniwala
perl
perloneliner
onelioner
FILE SPACING------------ # Double space a fileperl -pe '$\="\n"'perl -pe 'BEGIN { $\="\n" }'perl -pe '$_ .= "\n"'perl -pe 's/$/\n/'perl -nE 'say' # Double space a file, except the blank linesperl -pe '$_ .= "\n" unless /^$/'perl -pe '$_ .= "\n" if...