File: c2bimport

package info (click to toggle)
cb2bib 1.4.9-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,500 kB
  • ctags: 2,613
  • sloc: cpp: 26,112; sh: 481; makefile: 17
file content (27 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#-------------------------------------------------------------------------------
# c2bimport -- Script for calling cb2Bib in "Download Reference to cb2Bib" mode
# cb2Bib Tools
# Copyright (C) 2004-2012 by Pere Constans
# constans@molspaces.com
#
# Copyright (C) 2009 by Filippo Rusconi
# rusconi@mnhn.fr
#
# June 2009:
# - Make use of quoted "$1" argument instead of $1.
#
# See the LICENSE file that comes with this distribution
#-------------------------------------------------------------------------------
# Usage: c2bimport tmp_imported_reference_file
#-------------------------------------------------------------------------------

if test "$#" != 1; then
  cat <<EOF
Script for calling cb2Bib in "Download Reference to cb2Bib" mode
Usage: $0 tmp_imported_reference_file
EOF
  exit 2
fi

cb2bib --import "$1"