Timeline for How do I add text to the beginning of a file in Bash?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2013 at 16:01 | history | edited | Rucent88 | CC BY-SA 3.0 |
deleted 68 characters in body
|
Jan 14, 2013 at 1:48 | comment | added | Rucent88 |
As far as I'm aware, it's only limited by the amount of memory available. I've filled up variables well over 100MB into memory. text=$(cat file) . Be careful to only use text though, because shell variables aren't binary clean mywiki.wooledge.org/BashFAQ/058
|
|
Jan 9, 2013 at 22:59 | comment | added | nixda | Just to ask the obvious question: Where's the character limit of shell variables? | |
Jan 9, 2013 at 22:49 | history | answered | Rucent88 | CC BY-SA 3.0 |