What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:43:02
fsl orient
#!/bin/sh # fslreorient2std is an FSL tool for reorienting the image to match the # approximate orientation of the standard template images (MNI152). # It only applies 0, 90, 180 or 270 degree rotations. # It is not a registration tool. # It requires NIf... Add solution -
Shell/Bash 2021-08-26 10:42:02
awk delimiter
# Basic syntax: awk -F'[:/|]' '{print $field#, $field#, ...}' input_file # Where: # - : / and | are the three field delimiters considered # - $field# is the field nuber to be printed based on the splits made # by any of the delimiters # Example usage: #... Add solution -
Shell/Bash 2021-08-26 10:40:03
bash add text to the beginning or end of every line
# Basic syntax: awk '{print "PREFIX"$0}' input_file # Prepend "PREFIX" to every row in the input_file awk '{print $0"SUFFIX"}' input_file # Append "SUFFIX" to every row in the input_file awk '{print "PREFIX&quo... Add solution
Best helpers
Ranking is empty