History

plan9: treat (semi)colon as arguments separator with commands

Sigrid Haflínudóttir committed 6 years ago

Commit cd31f041 parent e47e8d52 files · +4 −2Browse files

Unified · Split

2 files
  1. orca.man +3 −1
  2. plan9.c +1 −1
orca.man+3−1
@@ -180,7 +180,9 @@ Commands can be entered into Orca either manually with · 179 unmodified lines
180.B Ctrl+k180.B Ctrl+k
181or with a181or with a
182.B $182.B $
183operator. All commands except183operator. Arguments may be separated with a (semi)colon as well as
184any whitespace characters.
185All commands except
184.I undo186.I undo
185,187,
186.I redo188.I redo
plan9.c+1−1
@@ -786,7 +786,7 @@ command(char *s, void (*snapshot)(void)) · 785 unmodified lines
786 return;786 return;
787 }787 }
788 788
789 if ((argc = tokenize(tmp, argv, nelem(argv))) < 1)789 if ((argc = gettokens(tmp, argv, nelem(argv), ":;\t\r\n ")) < 1)
790 return;790 return;
791 s = argv[0];791 s = argv[0];
792 792

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t