bash - deleting brackets in a file using sed -


Can someone help me remove the brackets in the file? Here is my script.

  # fftw is_c mpi_tile pmb for tau xhpl file in #! Printf "$ {file} _ $ {state} _v1.xls" sed -e '/ / (//' $ {file} _ $ {state} for the state in / bin / bash cc C1 C4 } _v1.xls of sed -e / \) // '$ {file} _ $ {state} _v1 Xls awk' {sum = = $ 3}; END {print "", sum / nr} '$ {file} _ $ {state} _v1.xls> & gt; C-State-residency XLS  

short answer: use - -sync location Sed with which you think you are.

You are removing the brackets, not the brackets, and only the first (or if you have not left your \ on each line). It also seems like a strange thing to do in Excel spreadsheets.

You might want to pip the output of the CD command instead of modifying the files at awk ...


Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -