Hi
I have a file which have say about 100,000 records..
the records in it look like
Some kind of text 1234567891 abcd February 14, 2008 03:58:54 AM lmnop
This is how it looks.. if u notice there is a 2byte space between each column.. and im planning to replace that with '|' ..
... (11 Replies)
Hello All,
I have a file with thousands of records:
eg:
|000222|123456987|||||||AARONSON| JOHN P|||PRIMARY |P
|000111|567894521|||||||ATHENS| WILLIAM k|||AAAA|L
Expected:
|000222|123456987|||||||AARONSON| JOHN |P|||PRIMARY |P
|000111|567894521|||||||ATHENS| WILLIAM |k|||AAAA|L
I... (6 Replies)
I am trying to extract 'postmaster' from the following string:
PenaltyError:=554 5.7.1 Error, send your mail to postmaster@LOCALDOMAIN
using the following command:
cat /usr/share/assp/assp.cfg | grep ^PenaltyError:= | cut -d '@' -f1 | cut -f8
but it returns:
PenaltyError:=554 5.7.1 Error,... (10 Replies)
Hello,
Is there a direct command to check if the delimiter in your file is a tab or a space? And how can they be converted from one to another.
Thanks,
G (4 Replies)
I have a csv file and there is a problem which I need to resolve.
Column1,Column2,Colum3,Column4
,x,y,z
,d,c,v
t,l,m,n
,h,s,k
,k,,y
z,j, ,p
Now if you see column1 for row 1 and row 4 though they are null there is a space but in case of row2 and row 5 there is no space.
I want row... (3 Replies)
I have more than 1000 files to parse. Each file contains few lines (number of lines varies) followed by a header line having all column's name (SPOT, NAME etc) and then values for those columns.
**Example File:
sdgafh
dfhaadfha
sfgaf dhah jkthdj
SPOT NAME GENE_NAME CH_MEAN CHDN_MED ... (11 Replies)
not sure if i'm doing this right i'm new tho this but i'm trying to use a space as a delimiter with the cut command
my code is
size=$( du -k -S -s /home/cmik | cut -d' ' -f1 )
i've also tried -f2 and switching the -d and -f around if that does anything (3 Replies)
Hi there,
After lots of reading I figured out how to use sed to parse my file.
This file is called services.txt:
00a1:ffff0000:0018:01f4:1:477
BravaNL
00a2:ffff0000:0018:01f4:1:471
MAX
00a3:ffff0000:000b:01f4:1:390
HaberTürk... (5 Replies)
Hi ,
Please suggest me how do I use : (colon and one space) as a delimiter in awk
Best regards,
Vishal (2 Replies)
Discussion started by: Vishal_dba
2 Replies
LEARN ABOUT DEBIAN
fssync-debug_stats
FSSYNC-DEBUG_STATS(8) AFS Command Reference FSSYNC-DEBUG_STATS(8)NAME
fssync-debug_stats - Displays various statistics
SYNOPSIS
fssync-debug stats -cmd <subcommand>
[-arg1 <arg1>]
[-arg2 <arg2>]
[-reason <sync protocol reason code>]
[-programtype <program type code>]
[-help]
fssync-debug s -c <subcommand>
[-arg1 <arg1>]
[-arg2 <arg2>]
[-r <sync protocol reason code>]
[-p <program type code>]
[-h]
DESCRIPTION
The fssync-debug stats command displays statistics according to the value of the option -cmd.
OPTIONS -cmd <subcommand>
Specifies statistics subcommand. Available subcommands are:
o pkg -- general volume package statistics
o vicep -- vice partition statistics
o hash -- volume hash chain statistics
o hdr -- volume header cache statistics
o vlru -- vlru generation statistics
o help -- display list of available subcommands
-arg1 <arg1>
Specifies first optional argument, in the context of the chosen subcommand. For vicep statistics, it specifies partition name; for hash
statistics, it specifies hash bucket number; for vlru statistics it specifies vlru generation number.
-arg2 <arg2>
Specifies second optional argument, in the context of the chose subcommand. Currently, none of the subcommands use it.
-reason <sync protocol reason code>
Specifies numeric sync protocol reason code. Available codes are listed in OpenAFS source file src/vol/fssync_inline.h. For
SYNC_REASON_NONE, use -reason 0.
-programtype <program type code>
Specifies program type code. Permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager.
PRIVILEGE REQUIRED
The issuer must have write access to the file server. Usually, this means that the issuer must be the local superuser "root" on the file
server machine.
SEE ALSO fssync-debug_header(8), fssync-debug_query(8)COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on
documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson.
OpenAFS 2012-03-26 FSSYNC-DEBUG_STATS(8)