Search Results

Search: Posts Made By: chipperuga
7,762
Posted By Corona688
perhaps more easily configurable: $ cat...
perhaps more easily configurable:

$ cat myscript.awk

BEGIN { OFS="\",\"" }

FNR==1 { for(X in A) delete A[X]; }

match($0, /:/) {
N=substr($0, 1, RSTART-1);
...
7,762
Posted By itkamaraj
$ awk -F": " '/Custodian/{c=$2}/Export...
$ awk -F": " '/Custodian/{c=$2}/Export Path/{p=$2}/Matched File/{m=$2}/File Size/{s=$2}/Original Path/{o=$2} {if(c && p && m && o &&...
7,747
Posted By jville
that a look here...
that a look here https://www.unix.com/shell-programming-scripting/25658-removing-control-ms-m.html
3,443
Posted By yinyuemi
using the code as : {your first sed cod}...
using the code as :

{your first sed cod} files |{my sed code}>outfile
7,608
Posted By itkamaraj
use it like awk -F"[:=]" '{print...
use it like

awk -F"[:=]" '{print $2}'
7,608
Posted By dude2cool
$ grep -e "\(packaged by\)\|\(employee\)\|\(file...
$ grep -e "\(packaged by\)\|\(employee\)\|\(file name\)\|\(Total Data (MB) Read\)\|\(Begin Time\)" log.txt|awk -F"=" '{print $2}'
10,502
Posted By Corona688
Ah, each individual file has only those records? ...
Ah, each individual file has only those records? Simple enough: #!/bin/sh

# usage: script.sh file1 file2 file3 ...

while [ "$#" -gt 0 ]
do
PFIX=
while IFS=" =" read VAR...
277,334
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy