Skip to content

Commit

Permalink
Rewrite "nix-script show-commit" with awk
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed Sep 8, 2015
1 parent 4dcf630 commit e9fd4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-script-show-commit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

nixos-version | cut -d . -f 3 | cut -d " " -f 1
nixos-version | awk -F. '{print $3}' | awk '{print $1}'

0 comments on commit e9fd4bb

Please sign in to comment.