-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b5d637
commit 615a87d
Showing
17 changed files
with
156 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,5 @@ venv.bak/ | |
|
||
# Others | ||
.DS_Store | ||
|
||
.vscode-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
|
||
#$ expect \$ | ||
#$ sendcharacter # | ||
This is a test with URL (https://github.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export PS1="$ " | ||
export HOME=~ | ||
export TERM=xterm | ||
export PATH=/usr/bin:/usr/local/bin/ | ||
shopt -u checkwinsize | ||
set enable-bracketed-paste off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export PS1="$ " | ||
export HOME=~ | ||
export TERM=xterm | ||
export PATH=/usr/bin:/usr/local/bin/ | ||
shopt -u checkwinsize | ||
set enable-bracketed-paste off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
[?2004h$ asciinema rec temp_test.cast \ | ||
[?2004l[?2004h> --overwrite \ | ||
[?2004l[?2004h> -c 'env -i PS1=$ bash --noprofile --norc' \ | ||
[?2004l[?2004h> -q | ||
[?2004l$echo "Hello World" | ||
$ asciinema rec temp_test.cast \ | ||
> --overwrite \ | ||
> -c 'env -i PS1=$ bash --noprofile --norc' \ | ||
> -q | ||
$echo "Hello World" | ||
Hello World | ||
$exit | ||
[?2004h$ asciinema play temp_test.cast | ||
[?2004l$echo "Hello World" | ||
$ asciinema play temp_test.cast | ||
$echo "Hello World" | ||
Hello World | ||
$exit | ||
[?2004h$ [?2004l | ||
exit | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[?2004h$ mkdir my_folder_with_a_very_long_name | ||
[?2004l[?2004h$ cd my_folder_with_a_very_long_name/ | ||
[?2004l[?2004h$ basename $PWD | ||
[?2004lmy_folder_with_a_very_long_name | ||
[?2004h$ [?2004l | ||
exit | ||
$ mkdir my_folder_with_a_very_long_name | ||
$ cd my_folder_with_a_very_long_name/ | ||
$ basename $PWD | ||
my_folder_with_a_very_long_name | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[?2004h$ touch my_first_file.txt | ||
[?2004l[?2004h$ touch my_second_file.txt | ||
[?2004l[?2004h$ rm my_first_file.txt | ||
[?2004l[?2004h$ (reverse-i-search)`': t': rm my_first_file.tx[7mt[27m(reverse-i-search)`to': [7mto[27much my_second_file.txt[1@u': [7mtou[27m[1@c': [7mtouc[27m[1@h': [7mtouch[27m[7mtouch[27m my_[1Pfirst[25P$ touch$ | ||
[?2004l[?2004h$ ls my_first_file.txt | ||
[?2004lmy_first_file.txt | ||
[?2004h$ [?2004l | ||
exit | ||
$ touch my_first_file.txt | ||
$ touch my_second_file.txt | ||
$ rm my_first_file.txt | ||
$ | ||
(reverse-i-search)`': t': rm my_first_file.txt | ||
(reverse-i-search)`to': touch my_second_file.txtu': touc': touch': touchtouch my_first | ||
$ touch | ||
$ | ||
$ ls my_first_file.txt | ||
my_first_file.txt | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[?2004h$ mkdir my_directory | ||
[?2004l[?2004h$ cd my_directory | ||
[?2004l[?2004h$ basename $PWD | ||
[?2004lmy_directory | ||
[?2004h$ touch my_textfile.txt | ||
[?2004l[?2004h$ ls | ||
[?2004lmy_textfile.txt | ||
[?2004h$ rm my_textfile.txt | ||
[?2004l[?2004h$ ls | ||
[?2004l[?2004h$ cd .. | ||
[?2004l[?2004h$ rm -r my_directory | ||
[?2004l[?2004h$ ls | ||
[?2004l[?2004h$ [?2004l | ||
exit | ||
$ mkdir my_directory | ||
$ cd my_directory | ||
$ basename $PWD | ||
my_directory | ||
$ touch my_textfile.txt | ||
$ ls | ||
my_textfile.txt | ||
$ rm my_textfile.txt | ||
$ ls | ||
$ cd .. | ||
$ rm -r my_directory | ||
$ ls | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[?2004h$ echo "Very" \ | ||
[?2004l[?2004h> "long" \ | ||
[?2004l[?2004h> "command" | ||
[?2004lVery long command | ||
[?2004h$ [?2004l | ||
exit | ||
$ echo "Very" \ | ||
> "long" \ | ||
> "command" | ||
Very long command | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[?2004h$ echo "Hello world" | ||
[?2004lHello world | ||
[?2004h$ echo "I have waited 1000ms" | ||
[?2004lI have waited 1000ms | ||
[?2004h$ echo "I am writing with a 10ms delay" | ||
[?2004lI am writing with a 10ms delay | ||
[?2004h$ [?2004l | ||
exit | ||
$ echo "Hello world" | ||
Hello world | ||
$ echo "I have waited 1000ms" | ||
I have waited 1000ms | ||
$ echo "I am writing with a 10ms delay" | ||
I am writing with a 10ms delay | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[?2004h$ touch my_first_file.txt | ||
[?2004l[?2004h$ touch my_second_file.txt | ||
[?2004l[?2004h$ rm my_first_file.txt | ||
[?2004l[?2004h$ rm my_first_file.txt$ [4@touch my_second_file.txt$ touch my_[1Pfirst_file.txt | ||
[?2004l[?2004h$ ls | ||
[?2004lmy_first_file.txt my_second_file.txt | ||
[?2004h$ [?2004l | ||
exit | ||
$ touch my_first_file.txt | ||
$ touch my_second_file.txt | ||
$ rm my_first_file.txt | ||
$ rm my_first_file.txt | ||
$ touch my_second_file.txt | ||
$ touch my_first_file.txt | ||
$ ls | ||
my_first_file.txt my_second_file.txt | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,47 @@ | ||
[?2004h$ man echo | ||
[?2004l[?1049h[22;0;0t[?1h=ECHO(1) User Commands ECHO(1)[m | ||
[m | ||
[1mNAME[0m[m | ||
echo - display a line of text[m | ||
[m | ||
[1mSYNOPSIS[0m[m | ||
[1mecho[0m [[4mSHORT-OPTION[24m]... [[4mSTRING[24m]...[m | ||
[1mecho[0m [4mLONG-OPTION[24m[m | ||
[m | ||
[1mDESCRIPTION[0m[m | ||
Echo the STRING(s) to standard output.[m | ||
[m | ||
[1m-n[0m do not output the trailing newline[m | ||
[m | ||
[1m-e[0m enable interpretation of backslash escapes[m | ||
[m | ||
[1m-E[0m disable interpretation of backslash escapes (default)[m | ||
[m | ||
[1m--help[0m display this help and exit[m | ||
[m | ||
[1m--version[0m[m | ||
output version information and exit[m | ||
[m | ||
[7m Manual page echo(1) line 1 (press h for help or q to quit)[27m[K[K [KESCESC[K[[[KBB[K[7m Manual page echo(1) line 1 (press h for help or q to quit)[27m[K[K If [1m-e[0m is in effect, the following sequences are recognized:[m | ||
[7m Manual page echo(1) line 2 (press h for help or q to quit)[27m[K[K [KESCESC[K[[[KBB[K[7m Manual page echo(1) line 2 (press h for help or q to quit)[27m[K[K[m | ||
[7m Manual page echo(1) line 3 (press h for help or q to quit)[27m[K[K [KESCESC[K[[[KBB[K[7m Manual page echo(1) line 3 (press h for help or q to quit)[27m[K[K \\ backslash[m | ||
[7m Manual page echo(1) line 4 (press h for help or q to quit)[27m[K[K [KESCESC[K[[[KBB[K[7m Manual page echo(1) line 4 (press h for help or q to quit)[27m[K[K[m | ||
[7m Manual page echo(1) line 5 (press h for help or q to quit)[27m[K[K [KESCESC[K[[[KBB[K[7m Manual page echo(1) line 5 (press h for help or q to quit)[27m[K[K \a alert (BEL)[m | ||
[7m Manual page echo(1) line 6 (press h for help or q to quit)[27m[K[K[?1l>[?1049l[23;0;0t[?2004h$ [?2004l | ||
exit | ||
$ man echo | ||
= | ||
ECHO(1) User Commands ECHO(1) | ||
|
||
NAME | ||
echo - display a line of text | ||
|
||
SYNOPSIS | ||
echo [SHORT-OPTION]... [STRING]... | ||
echo LONG-OPTION | ||
|
||
DESCRIPTION | ||
Echo the STRING(s) to standard output. | ||
|
||
-n do not output the trailing newline | ||
|
||
-e enable interpretation of backslash escapes | ||
|
||
-E disable interpretation of backslash escapes (default) | ||
|
||
--help display this help and exit | ||
|
||
--version | ||
output version information and exit | ||
|
||
Manual page echo(1) line 1 (press h for help or q to quit) | ||
ESCESC[[BB | ||
Manual page echo(1) line 1 (press h for help or q to quit) | ||
If -e is in effect, the following sequences are recognized: | ||
Manual page echo(1) line 2 (press h for help or q to quit) | ||
ESCESC[[BB | ||
Manual page echo(1) line 2 (press h for help or q to quit) | ||
|
||
Manual page echo(1) line 3 (press h for help or q to quit) | ||
ESCESC[[BB | ||
Manual page echo(1) line 3 (press h for help or q to quit) | ||
\\ backslash | ||
Manual page echo(1) line 4 (press h for help or q to quit) | ||
ESCESC[[BB | ||
Manual page echo(1) line 4 (press h for help or q to quit) | ||
|
||
Manual page echo(1) line 5 (press h for help or q to quit) | ||
ESCESC[[BB | ||
Manual page echo(1) line 5 (press h for help or q to quit) | ||
\a alert (BEL) | ||
Manual page echo(1) line 6 (press h for help or q to quit) | ||
>$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[?2004h$ #This is a test with URL (https://github.com) | ||
[?2004l[?2004h$ [?2004l | ||
exit | ||
$ #This is a test with URL (https://github.com) | ||
$ exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters