Opened 6 years ago
Closed 6 years ago
#85 closed enhancement (fixed)
Small improvement to ShellExample trac processor
| Reported by: | goozbach | Owned by: | moo |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | website | Version: | |
| Keywords: | ShellExample | Cc: | |
| Application: | PHP Version: | ||
| Other Exts: | SAPI: | ||
| Probability: | Blocked By: | ||
| Blocking: | Need User Feedback: |
Description (last modified by moo)
I'm loving your ShellExample preprocessor. I found it's shell syntax just a little lacking however
attached is the new version I've created(basicly just a tweak of the regex).
My new version allows for a more flexible prompt to be displayed such as
user@host $
or
root@host #
it also allows for windows cmd.exe style shell prompts as well:
C:\>
or
C:\Documents and Settings\username\>
Attachments (1)
Change History (5)
Changed 6 years ago by goozbach
comment:1 Changed 6 years ago by moo
- Status changed from new to assigned
good to know someone is interested in the small script i wrote. i'll check it
comment:2 Changed 6 years ago by moo
- Description modified (diff)
comment:3 Changed 6 years ago by goozbach
found one bug, apparently it chokes on a redirect.
e.g.
foo@host # cat /etc/passwd >> foo.txt
it ends up hilighting all the way to the second redirector
comment:4 Changed 6 years ago by moo
- Resolution set to fixed
- Status changed from assigned to closed
a modified ShellExample.py is uploaded in the wiki page
Note: See
TracTickets for help on using
tickets.


improved ShellExample preprocessor