This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ -Wall getlineSafe.cpp -o getlineSafe -O | |
#include <string.h> | |
#include <iostream> | |
#include <fstream> | |
#include <cstdlib> | |
std::istream& getlineSafe(std::istream& is, std::string& t) { | |
t.clear(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## script to check if files contain identical data (by byte). stops at first difference. | |
## Usage: | |
## ./cFiles.sh file1 file2 | |
## It may be necessary to change access permission to make the script executable. Type: | |
## chmod 755 cFiles.sh | |
if [ "$#" -ne 2 ] | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## script to grab individual nexson(s) from Phylografter | |
## Usage: | |
## ./getNexson.sh study1ID study2ID ... | |
## where study*ID is the Phylografter study identifier. For example, to get studies 420 and 1428, type: | |
## ./getNexson.sh 1428 420 | |
## It may be necessary to change access permission to make the script executable. Type: | |
## chmod 755 getNexson.sh |
NewerOlder