diff --git a/etc/config.csh/paraview b/etc/config.csh/paraview
index 16fa58d..a3be469 100644
--- a/etc/config.csh/paraview
+++ b/etc/config.csh/paraview
@@ -81,7 +81,7 @@ case "$ParaView_MAJOR".*:
 
 case [0-9]*:
     # Extract major from the version
-    setenv ParaView_MAJOR `echo ${ParaView_VERSION} | \
+    setenv ParaView_MAJOR `echo ${ParaView_VERSION} | \\
         sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
     breaksw
 endsw
diff --git a/etc/cshrc b/etc/cshrc
index c2f1794..a28350b 100644
--- a/etc/cshrc
+++ b/etc/cshrc
@@ -41,7 +41,7 @@ setenv WM_PROJECT_VERSION dev
 #
 # Please set to the appropriate path if the default is not correct.
 #
-setenv FOAM_INST_DIR `lsof +p $$ |& grep -oE '/.*'$WM_PROJECT'[^/]*/etc/cshrc' | \
+setenv FOAM_INST_DIR `lsof +p $$ |& grep -oE '/.*'$WM_PROJECT'[^/]*/etc/cshrc' | \\
     sed 's%/'$WM_PROJECT'[^/]*/etc/cshrc%%'`
 echo $FOAM_INST_DIR
 # setenv FOAM_INST_DIR  $HOME/$WM_PROJECT
