yrahul3910 / pysh

Embed bash in your Python
MIT License
0 stars 0 forks source link

Implement multiple commands in the same line #13

Open yrahul3910 opened 11 months ago

yrahul3910 commented 11 months ago

The following syntax is not currently supported:

n_lines = int`cat file1 < wc -l` + int`cat file2 < wc -l`
yrahul3910 commented 11 months ago

I wonder if we could replace the _ mechanism with a random string. Obviously, this raises issues for testing, though. The other question is: is there a good use case for this?