Skip to content

Instantly share code, notes, and snippets.

@data4sci
Created June 10, 2021 09:35
Show Gist options
  • Select an option

  • Save data4sci/ed3eed85845722eb959c3db872d5737b to your computer and use it in GitHub Desktop.

Select an option

Save data4sci/ed3eed85845722eb959c3db872d5737b to your computer and use it in GitHub Desktop.
očíslovat/spočítat řádky na stdout pomocí grep
cat file.txt | grep -n ""
#nebo
neco_s_vystupem | cat -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment