Sigrid Solveig Haflínudóttirclear: remove "" as well1d039d65 years agoHistory
10 lines · 256 B · Text
RawDownload
#!/bin/rc# clears all the output from programs,# leaving only the command prompts grep `{echo -n '^'^$prompt(1)} </dev/text | \	grep -v '^'^$prompt(1)^'(clear|"")' | \	uniq >/tmp/clearing.$pid cp /tmp/clearing.$pid /dev/textrm -f /tmp/clearing.$pid

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