Linux Shell Scripting: sed part 2
1) Work with extended regular expressions.
2) Edit a configuration file with sed from a shell script.
sed -r 's/(\/[^:]*).*/\1/g' # Try for different kinds of input lines with and without g switch.
sed -r 's/\([^:]*\).*/\1/' # Try this out for different kinds of input strings.
sed -r 's/(^\|[^0-9.])([0-9]+)([0-9]{3})/\1\2,\3/g' # Try for diff input strings.
#shellscripting #sedcommand #regularexpressions #extendedregularexpressions #EREs #editconfigurationfile
In questa pagina del sito puoi guardare il video online Linux shell scripting: sed part 2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kodhai Linux 30 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 47 volte e gli è piaciuto 7 spettatori. Buona visione!