cicada 0.9.4

A simple Unix shell.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::jobc;
use crate::shell;

pub fn run(sh: &shell::Shell) -> i32 {
    if sh.jobs.is_empty() {
        return 0;
    }

    for (_i, job) in sh.jobs.iter() {
        jobc::print_job(job);
    }
    return 0;
}