Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #16682

Re: mc finds more than `find` finds?

From Richard Kettlewell <rjk@greenend.org.uk>
Newsgroups comp.os.linux.misc
Subject Re: mc finds more than `find` finds?
Date 2016-01-05 18:12 +0000
Organization terraraq NNTP server
Message-ID <87k2nn5211.fsf@mantic.terraraq.uk> (permalink)
References <87y4dh7sol.fld@barrow.com> <n6eu07$ts0$1@dont-email.me> <n6ev46$9gf$2@news.albasani.net> <q6Eiy.56384$Hz3.45611@fx43.iad>

Show all headers | View raw


Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
> With respect to your observation on PASCAL I/O, let me quote from "The C
> Programming Language" by Brian W. Kernighan and Dennis M. Ritchie, (c) 1978
> Bell Telephone Laboratories:
>
>   "C provides no operations to deal directly with composite objects
>   such as character strings, sets, lists, or arrays considered as a
>   whole. There is no analog, for example, of the PL/1 operations which
>   manipulate an entire array or string. The language does not define
>   any storage allocation facility other than static definition and the
>   stack discipline provided by the local variables of functions: there
>   is no heap or garbage collection like that provided by Algol
>   68. Finally, C itself provides no input-output facilities: there are
>   no READ or WRITE statements, and no wired-in file access
>   methods. All of these higher-level mechanisms must be provided by
>   explicitly-called functions."
>  
> It is interesting to note that, like PASCAL, the C language (the
> original language as documented by K&R v1) does not provide I/O
> facilities.

Sort of...

There’s a language-vs-library distinction, which makes the observation
that the language doesn’t provide any I/O primitives somewhat
uninteresting.

Looking beyond that distinction, however, the volume you quote also
talks of the “standard C I/O library [...] supported on all machines
that support C”.  It seems to me that the idea of a freestanding
implementation, formalized in 1989, must have been a later introduction.

Pascal, on the other hand, had I/O support built into the language
(i.e. not just a library component) in its earliest versions.  See
s6.2.4 of Wirth’s 1970 description of the language, for a start.

-- 
http://www.greenend.org.uk/rjk/

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

mc finds more than `find` finds? WhoCares@gmail.com - 2015-11-28 00:37 +0000
  Re: mc finds more than `find` finds? William Unruh <unruh@invalid.ca> - 2015-11-28 00:52 +0000
    Re: mc finds more than `find` finds? Arkadiusz Drabczyk <arkadiusz@domain.invalid> - 2015-11-28 16:15 +0000
      Re: mc finds more than `find` finds? William Unruh <unruh@invalid.ca> - 2015-11-28 17:59 +0000
        Re: mc finds more than `find` finds? Teemu Likonen <tlikonen@iki.fi> - 2015-11-28 20:07 +0200
          Re: mc finds more than `find` finds? William Unruh <unruh@invalid.ca> - 2015-11-28 20:44 +0000
            Re: mc finds more than `find` finds? Teemu Likonen <tlikonen@iki.fi> - 2015-11-29 12:41 +0200
        Re: mc finds more than `find` finds? Arkadiusz Drabczyk <arkadiusz@domain.invalid> - 2015-11-28 18:14 +0000
          Re: mc finds more than `find` finds? floyd@apaflo.com (Floyd L. Davidson) - 2015-11-28 11:52 -0900
            Re: mc finds more than `find` finds? Martijn Dekker <martijn@inlv.demon.nl> - 2015-11-29 16:35 +0100
              Re: mc finds more than `find` finds? floyd@apaflo.com (Floyd L. Davidson) - 2015-11-29 10:49 -0900
                Re: mc finds more than `find` finds? Richard Kettlewell <rjk@greenend.org.uk> - 2015-11-29 20:24 +0000
                Re: mc finds more than `find` finds? floyd@apaflo.com (Floyd L. Davidson) - 2015-11-29 14:09 -0900
                Re: mc finds more than `find` finds? Richard Kettlewell <rjk@greenend.org.uk> - 2015-11-30 09:24 +0000
                Re: mc finds more than `find` finds? Eef Hartman <E.J.M.Hartman@gmail.com> - 2015-11-30 10:08 +0000
              Re: mc finds more than `find` finds? William Unruh <unruh@invalid.ca> - 2015-11-29 20:07 +0000
              Re: mc finds more than `find` finds? Eef Hartman <E.J.M.Hartman@gmail.com> - 2015-11-29 20:10 +0000
            Re: mc finds more than `find` finds? no.top.post@gmail.com - 2016-01-04 23:07 +0000
              Re: mc finds more than `find` finds? The Natural Philosopher <tnp@invalid.invalid> - 2016-01-04 23:27 +0000
                Re: mc finds more than `find` finds? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-01-04 19:28 -0500
                Re: mc finds more than `find` finds? The Natural Philosopher <tnp@invalid.invalid> - 2016-01-05 14:04 +0000
                Re: mc finds more than `find` finds? Richard Kettlewell <rjk@greenend.org.uk> - 2016-01-05 18:12 +0000
              Re: mc finds more than `find` finds? Jerry Peters <jerry@example.invalid> - 2016-01-05 21:05 +0000
  Re: mc finds more than `find` finds? marrgol <marrgol@address.invalid> - 2015-11-28 02:22 +0100
  Re: mc finds more than `find` finds? Joe Beanfish <joebeanfish@nospam.duh> - 2015-11-30 15:59 +0000
    Re: mc finds more than `find` finds? Unknown <dog@gmail.com> - 2016-01-03 12:52 +0000

csiph-web