- or download this
...
- or download this
root@laptop:~/.cpan# rm sources/authors/id/?/??/*/CHECKSUMS
root@laptop:~/.cpan# ls sources/authors/id/?/??/*/CHECKSUMS
ls: cannot access 'sources/authors/id/?/??/*/CHECKSUMS': No such file
+or directory
root@laptop:~/.cpan# cpan
- or download this
cpan[1]> install Astro::SIMBAD::Client
- or download this
...
cpan[2]> quit
- or download this
root@laptop:~/.cpan# perl -MAstro::SIMBAD::Client -le '$s=Astro::SIMBA
+D::Client->new;@q=split /\n/, $s->url_query(id => Ident => "$ARGV[0]"
+, NbIdent => 1);@r=grep/ICRS/,@q;print for @r' aldebaran
Coordinates(ICRS,ep=J2000,eq=2000): 04 35 55.23907 +16 30 33.4885 (Op
+t ) A [7.38 5.70 90] 2007A&A...474..653V
root@laptop:~/.cpan#
- or download this
DB<1> n
+
...
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<6>
- or download this
#!/usr/bin/perl -w
use v5.030;
...
print Dumper(@r);
#print Dumper(@q);
- or download this
fritz@laptop:~/Documents$ ./1.simbad.pl Aldebaran
...
fritz@laptop:~/Documents$ ./1.simbad.pl Alnitak
$VAR1 = 'Coordinates(ICRS,ep=J2000,eq=2000): 05 40 45.52666 -01 56 33
+.2649 (Opt ) A [5.19 2.29 90] 2007A&A...474..653V';
- or download this
https://simbad.cds.unistra.fr/simbad/sim-id?Ident=betelgeuse&submit=su
+bmit+id