The line you refer to is a command you need to run in your command line (which needs to be unix based so use mac, linux or unix).
What it does is access a file (bootstrap.scss
), and extract specific lines from it. Then, instead of displaying the result on the screen, it writes it to a file (bootstrap-custom.scss
), which, after the command runs, will contain a list of all the modules bootstrap uses. You can now delete those you do not want to use.
More info:
sed 's/@import "/@import "bootstrap\//'
- this line uses sed, a unix utility that parses and transforms text, to find only the correct lines.
$(bundle show bootstrap-sass)
- the $() indicates that the result of the command inside should be pasted into this place in the longer command outside them.
\
- Appears at the end of the 1st & 2nd lines. It means that although I press enter I I am still typing my command, so don't run it yet.
`>' - redirects the output from the screen to a file.
Hope this helps.