Algorithmic trading is a way of doing stock trading in which systems are programed to place order for buying or selling stocks. The main advantage of such automated systems are it's much faster compared to when humans are placing orders. This trend is getting common is recent years and large financial institutions are practically executing it.
Sometimes we need to ignore multiple lines with certain words and get the list out of the file. usually it will be a log file to read . The below grep command can be used to ignore multiple words present in a text file. Lets say the file contain $ cat list.txt apple orange apple banana papaya Now we need to ignore line with orange , banana and papaya . So we can use the below grep command. $ cat list.txt | grep -Ev "orange|banana|papaya" apple apple It will ignore lines with the words in -v part of grep.
Comments
Post a Comment