Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3,292 changes: 3,183 additions & 109 deletions EnvConditions/MakeSimplifiedLumiTempScenario.C

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions EnvConditions/ModifyTempHistory.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [ $# -ne 2 ]; then
echo "Usage: $0 input.txt output.txt"
exit 1
fi

input_file=$1
output_file=$2

awk '{$1=""; print substr($0,2)}' "$input_file" > "$output_file"
12 changes: 12 additions & 0 deletions EnvConditions/ShiftTempHistory.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

if [ $# -ne 3 ]; then
echo "Usage: $0 input.txt output.txt value_to_add"
exit 1
fi

input_file=$1
output_file=$2
value_to_add=$3

awk -v add="$value_to_add" '{ $1 = $1 + add; print }' "$input_file" > "$output_file"
Loading