Codebase list clitest / fd9f189
Use sed instead wc -l to count lines The output format of `wc -l` differs between implementations, regarding leading blank spaces. In sed it's always numbers-only. Aurelio Jargas 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
22 $ curl -O -s -S "$url" # download
33 $ du -h txt2tags-2.6.tgz # verify size
44 532K txt2tags-2.6.tgz
5 $ tar tzf txt2tags-2.6.tgz | wc -l # verify number of files
6 545
5 $ tar tzf txt2tags-2.6.tgz | sed -n '$=' # verify number of files
6 545
77 $ tar xzf txt2tags-2.6.tgz # extract
88 $ cd txt2tags-2.6
99 $ ls -1F # list contents