Search Results

Search: Posts Made By: icskittles
1,999
Posted By icskittles
Sweet, thank you! I just changed it slightly so...
Sweet, thank you! I just changed it slightly so that it only adds the backslashes for lines with text in them:
awk '!/^\\begin/&&!/^$/&&!/^\\end/{$0=$0"\\\\"}1' filename
1,999
Posted By icskittles
Script to add backslashes to end of certain lines of text
I'd like to write up notes in a relatively readable format and then use a shell script to add LaTeX formatting. Specifically, I'm trying to figure out how to add the LaTeX newline character (\\) to...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy