From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- noao/onedspec/identify/idnoextn.x | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 noao/onedspec/identify/idnoextn.x (limited to 'noao/onedspec/identify/idnoextn.x') diff --git a/noao/onedspec/identify/idnoextn.x b/noao/onedspec/identify/idnoextn.x new file mode 100644 index 00000000..6c82d778 --- /dev/null +++ b/noao/onedspec/identify/idnoextn.x @@ -0,0 +1,11 @@ +# ID_NOEXTN -- Remove standard image extensions. + +procedure id_noextn (image) + +char image[ARB] # Image name + +int strlen() + +begin + call xt_imroot (image, image, strlen (image)) +end -- cgit