Skip to content

Instantly share code, notes, and snippets.

@sashaphanes
Last active October 11, 2015 23:48
Show Gist options
  • Save sashaphanes/3939065 to your computer and use it in GitHub Desktop.
Save sashaphanes/3939065 to your computer and use it in GitHub Desktop.
PEWPS
#!/usr/bin/perl -sw
while (<>) {
foreach
$_ =~ s/,/\t/;
print "$_\n" if (eof);
}
user@localhost:~/work.dir/PerlScripts>cat ~/work.dir/Sasha/Expression\ Data/Homo_sapiens/aba_maoa/Columns.csv | perl replacer.pl
syntax error at replacer.pl line 5, near "$_ =~"
Execution of replacer.pl aborted due to compilation errors.
[2]- Done emacs merge.basedOn.column.pl
user@localhost:~/work.dir/PerlScripts>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment