edd12321 / zrc Goto Github PK
View Code? Open in Web Editor NEWThe Zrc UNIX shell and scripting language.
License: BSD 2-Clause "Simplified" License
The Zrc UNIX shell and scripting language.
License: BSD 2-Clause "Simplified" License
$ make corebuf
cd corebuf; \
./build.zrc
/usr/bin/env: ‘zrc’: No such file or directory
Makefile:24: recipe for target 'corebuf' failed
make: *** [corebuf] Error 127
Thank you for your attention again.
When I test zrc on the interactive command line, I often have these problems:
The problem seems to be related to GNU screen. I use the Fish shell in GNU screen and my terminal application is stjerm, which is almost extinct nowadays. But I don't think stjerm is to blame. The same problem is not reproducible on sakura (another terminal application), until I start a GNU screen session in sakura. Then the problems begin again.
I never had any problem with GNU screen and Fish or Bash, so I am guessing Zrc and screen don't get along too well. It's hard to find anyone who still uses stjerm, but GNU screen is very popular so it's probably a good idea to check that. Maybe tmux too, but I never used it so I don't know if it has issues with Zrc (or any other shell for that matter).
I don't see keyboard shortcuts in your TODO list so I thought I might as well ask for it. I really miss:
Among others.
By the way, I use Linux but I really like the CHM format for studying so I made myself one out of your man pages. It is attached. Feel free to distribute it if you like.
Here: zrc.chm.zip
Please don't count on me to update it often. It involves a lot of editing and Microsoft makes the building procedure considerably more difficult than it had to be.
Also I won't be around here for long. Github will soon enforce two-factor authentication and I will not comply because it requires a phone number or a phone application (which of course collects personal data) and I find that invasive and abusive. So I may not be able to log in and comment anymore.
Thank you for your attention.
I would love to have an "unknown" function like the one in Tcl. No more, no less. Just a "port" to Zrc with the same design and behavior.
Not extremely important or urgent, I just thought I should ask while I still can log in to Github. :-\
Thank you.
Here is what happens when we try to run the following command:
ls > file | wc
Expected result:
0 0 0
Actual result:
<non-zero> <non-zero> <non-zero>
@ {ls > file} | wc
yields the correct result we should expect...
I know why this happens, but it's kinda hard to fix. I hope I can do it this week.
How is this supposed to build? There are no instructions anywhere.
Is there a simple way of installing the documentation?
I copied the zrc.1 file from the doc directory to /usr/share/man/man1/ (make install didn't do that, neither did it copy the binary to /usr/local/bin or any other place in my PATH) and it works, I can read the manual with 'man zrc' like any other command.
What about all the other pages? I foresee conflicts. For example, in man zrc:
string [OPTION]
Work with text strings. See `man string` for more info.
But there is a string command already and it has its own man page.
Actually, I get two very different man pages when I call 'man string' from my usual shell and from a zrc shell session. I have no idea why. Neither is the zrc string command because I didn't install it. I just copied zrc.1 over.
How do you suggest we deal with it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.