🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.misc
Article #16258

Re: Zero-length files

#16258
From: Mike Levis
Date: Sun, 10 Jan 1993 08:05
21 lines
1213 bytes
In article <1ierslINNriq@usenet.INS.CWRU.Edu> al919@cleveland.Freenet.Edu (Bruce Halco) writes:
>
>I can't find the original posting, but someone asked about
>making zero-length files.  In DOS you can do this with
>
>	REM > FOO.BAR
>
>I haven't tried this in OS/2.  That can be an exercise for the 
>reader :-)

This works under a DOS session in OS/2, but not in an OS/2 session.
It seems that an OS/2 sessions *really* treats a REM statement as
a REM statement.  To get around this in an OS/2 session, one way is:

   type FOO.BAR > FOO.BAR

-- 
======= Mike Levis   mlevis@ringer.cs.utsa.edu =======
::  ftp ftp-os2.nmsu.edu (128.123.35.151) for OS/2  ::  .--.
::  software & information.   Get /pub/os2/00Index  :: (OS/2)
::::::::  & /pub/os2/all/info/faq/faq20i.txt  ::::::::  ~--~
Technical Details
Message-ID: <1993Jan10.080524.12869@ringer.cs.utsa.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!natinst.com!news.dell.com!swrinde!ringer!mlevis
References: <1ierslINNriq@usenet.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!natinst.com!news.dell.com!swrinde!ringer!mlevis
From: mlevis@ringer.cs.utsa.edu (Mike Levis) (OS/2)
Subject: Re: Zero-length files
Message-ID: <1993Jan10.080524.12869@ringer.cs.utsa.edu>
Organization: University of Texas at San Antonio
References: <1ierslINNriq@usenet.INS.CWRU.Edu>
Date: Sun, 10 Jan 1993 08:05:24 GMT
Lines: 21