"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/javascript" (17 Mar 2017, 748 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: javascript,v 1.1 2012/06/16 13:30:36 christos Exp $
    4 # javascript:  magic for javascript and node.js scripts.
    5 #
    6 0	search/1/w	#!/bin/node		Node.js script text executable
    7 !:mime application/javascript
    8 0	search/1/w	#!/usr/bin/node		Node.js script text executable
    9 !:mime application/javascript
   10 0	search/1/w	#!/bin/nodejs		Node.js script text executable
   11 !:mime application/javascript
   12 0	search/1/w	#!/usr/bin/nodejs	Node.js script text executable
   13 !:mime application/javascript
   14 0	search/1	#!/usr/bin/env\ node	Node.js script text executable
   15 !:mime application/javascript
   16 0	search/1	#!/usr/bin/env\ nodejs	Node.js script text executable
   17 !:mime application/javascript