[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: (no subject)



hi list
binand, i think by this u mean that every file in unix is a series of
bytes , no special bytes , whether text or binary files. just one query,
what exactly is an ascii text file  , as listed by the $ file <filename>
command ? i mean is ascii just means that some programs( cat , more
etc)  can output it neatly on the screen ? 

Binand Raj S wrote:
> 
> Satheesh Kumar. N.K forced the electrons to say:
> > Hi,
> > How can I make out if a file is binary or text given its path?
> 
> Linux (and other Unixes) doesn't distinguish between binary and ascii
> files. So there is no need for such a system call, and there is no such
> system call/function in linux.
> 
> Binand
> 
>
-- 
 
  In a world without fences, who needs Gates ? not I ..

 ------------------------------------------------------------------
 Email: rajeevj@xxxxxxxxxxxxxx   Office :
                                 MBT(Sharda centre), off karve road
              		         Pune , India
                       Tring Tring : +91(20)5424301 Xtn: 1126
    
                       Web-Site : http://www.rajeevjha.com
 -------------------------------------------------------------------