Jiffies: Difference between revisions

adjust scalefactors alias to latest XDS version
mNo edit summary
(adjust scalefactors alias to latest XDS version)
Line 2: Line 2:


  alias sortlattices "egrep '^    ..        [aomhtc]' IDXREF.LP | sort -k3n | head -12"
  alias sortlattices "egrep '^    ..        [aomhtc]' IDXREF.LP | sort -k3n | head -12"
  alias scalefactors "egrep ' ....  0 ...... .......  ..  .....    ....  ...  ......  ......' INTEGRATE.LP"
  alias scalefactors "egrep ' .....  0 ...... ........  ..  .....    ....  ...  ......  ......' INTEGRATE.LP"


In sh/bash/ksh/zsh syntax this would be:
In sh/bash/ksh/zsh syntax this would be:


  alias sortlattices='egrep "^    ..        [aomhtc]" IDXREF.LP | sort -k3n | head -12'
  alias sortlattices='egrep "^    ..        [aomhtc]" IDXREF.LP | sort -k3n | head -12'
  alias scalefactors='egrep " ....  0 ...... .......  ..  .....    ....  ...  ......  ......" INTEGRATE.LP'
  alias scalefactors='egrep " .....  0 ...... ........  ..  .....    ....  ...  ......  ......" INTEGRATE.LP'


which could go into ~/.bashrc or something similar. There are many possibilities - best thing might be to search for the file that already contains alias commands:
which could go into ~/.bashrc or something similar. There are many possibilities - best thing might be to search for the file that already contains alias commands:
2,684

edits