-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ssam script #104
Comments
Added one that uses the same parameters as ssam from plan9ports, but it uses getopts which can probably be written out (but i need my quotez!). Can probably also use trap to ensure the file gets rm'd...
|
Hey Ali! Added your ssam to the repo; let me know if it looks all right. |
Hah! Heyo good sir. Actually, let me tweak it a bit and submit you a PR. The only issue is that the "$tmp" file isn't guaranteed to be removed if some signal hits the shellscript which we can |
Okay, sir. PR #112 handles those issues that I mentioned. Thx for maintaining this btw, I'm trying to convince my coworkers how fucking awesome |
|
Trap a couple of signals in ssam in order to guarantee its temporary file is removed
Please add the ssam script as in the plan9port:
https://9fans.github.io/plan9port/man/man1/ssam.html
https://github.com/9fans/plan9port/blob/master/bin/ssam
I did a quick implementation in bash:
The text was updated successfully, but these errors were encountered: