[bash] New functions line and cpold