Here's a video of my first 5 minutes of using ed(1). I'm writing a Hello, World program in Rust, but first I need to learn how to quit.
In case you want to see the script at home, this is what I ended up writing:
$ ed hello.rs
hello.rs: No such file or directory
a
fn main() {
println!("Hello, world");
}
^C
?
w
41
q
$ rustc hello.rs
$ ./hello
Hello, world
🦀 Rust resources:
Tim's tutorial videos https://timclicks.dev
Rust Documentation: https://doc.rust-lang.org/book/
Rust Playground: https://play.rust-lang.org/
Rust in Action (Tim's book!) https://mng.bz/4MlD
How to Learn Rust (online course!) https://learning.accelerant.dev/how-t...
👋 Connect with Tim:
Twitter: / timclicks
GitHub: https://github.com/timClicks
Mastodon: https://mastodon.nz/@timClicks
DEV: https://dev.to/timclicks/
Patreon (extra learning materials) / timclicks
🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub...
👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.