Skip to main content
10 events
when toggle format what by license comment
Aug 18, 2022 at 14:29 history edited DopeGhoti CC BY-SA 4.0
make title reflect question
Aug 18, 2022 at 14:25 answer added DopeGhoti timeline score: 1
Aug 18, 2022 at 14:19 comment added DopeGhoti Further, rather than running sed -i 'stuff' file; latex [stuff]; sed -i 'stuff' file, would it not be simpler to not alter the file, and simply sed 'stuff' file | latex?
Aug 18, 2022 at 9:49 comment added Stéphane Chazelas @telcoM, no shell could possibly interpret 'a'b'c' as nested quotes. Why would a shell ever consider the second ' as anything but the closing quote for 'a'? Some shells support 'a''b''c' (like rc, es, akanga, zsh -o rcquotes). Some shells support 'a\'b\'c' (like fish), but in any case, you need special syntax to tell it's not a closing quote you want.
Aug 18, 2022 at 8:09 comment added Devon Put the command in a function tex-build() {...} or shell script, so that you don't have to worry about nested quoting.
Aug 18, 2022 at 5:37 history edited Marlon Richert CC BY-SA 4.0
Format for readability
Aug 18, 2022 at 3:12 comment added telcoM You intended to have alias tex-build='quoted level-1 'quoted level-2' /path/to/mytexfile.tex && quoted level-1 'quoted level-2' /path/to/mytexfile.tex'. Most shells will not allow nesting of simple single quotes like that: you'll have to either escape the inner single quotes, or use double quotes as your outer quotes, since you'll really want single quotes protecting your LaTeX command strings as they have lots of characters that have a special meaning for the shell.
Aug 18, 2022 at 2:08 comment added thrig zsh does not read .bashrc. what happens if you put the alias into the zsh configuration file .zshrc in your home directory?
S Aug 18, 2022 at 1:48 review First questions
Aug 25, 2022 at 9:27
S Aug 18, 2022 at 1:48 history asked pahohu CC BY-SA 4.0