Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8889829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:21:29+00:00 2026-06-14T22:21:29+00:00

I have a closed program (namely Intersystems ‘csession’ Cachédb terminal) that will write to

  • 0

I have a closed program (namely Intersystems ‘csession’ Cachédb terminal) that will write to a file given as a parameter. It do so several times, as then returns. Each time, the given file is overwritten, so at the end, I only get the last result…

I had the idea that it might be possible to trick and give a special pseudo-file as a parameter, that would act as a proxy and append what is written into it into another file.

create proxyfile as >> realfile
cat "Hello" > proxyfile
cat "Bye" > proxyfile
cat realfile
Hello
Bye

Does anyone think this might be doable, possibly using a little utility ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:21:30+00:00Added an answer on June 14, 2026 at 10:21 pm

    You can use a FIFO file (named pipe) for this purpose. To see how they work, open up two terminal windows. In one, do

    cd /tmp
    mkfifo pipe
    tail -f pipe
    

    and in the other

    cd /tmp
    echo "Hello" > pipe
    echo "Bye" > pipe
    

    For the actual problem, let your application write to the FIFO and use tail -f pipe > outputfile in the background to gather the results into outputfile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a computational terminal program that I need to interact with using a
I have a program that reads in lines from a file (with two lines)
i have a closed source program that prints output to standard output. i need
How can I ensure that all program threads abort after I have closed the
I have a closed-source 3rd party program, and I want to be able to
I have a site at blog.foobar.com that I have closed down, and I want
I have a form that is closed unexpectedly immediately after showing it. I hooked
I have a number of lists that can be opened or closed, something like
I have a Python script that is using some closed-box Python functions (i.e. I
I have a set of points that i want to turn into a closed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.