cards
aslamK's deck
Sign in
Sign up
Menu
Query
Help
6 cards
View
CPU Power Management Intel Haswell Chips
aslamK
8 years
Bash function to read the lines of a file into an array using the builtin, mapfile.
aslamK
9 years
How to make Nemo the default file manager in Ubuntu
aslamK
9 years
How to add Feedly as an RSS/ATOM feed reader in Firefox
aslamK
9 years
How to suppress ufw log messages in syslog
aslamK
9 years
How to change the default GnuPG version from gpg to gpg2
aslamK
9 years
Bash function to read the lines of a file into an array using the builtin, mapfile.
Posted
Over 9 years ago
. Visible to the public. Linked content.
Reads the lines of the specified file into an array. The resulting array is in the dedicated variable,
MAPFILE
.
Skips "commented" lines or portions of lines.
Skips blank lines.
Trims leading & trailing spaces in every line.
gist.github.com
aslamK
Say thanks
Last edit
Over 9 years ago
Tags
bash
,
mapfile
Privacy policy
Terms of service
Imprint
This website uses short-lived cookies to improve usability.
Accept
or
learn more