When I open a file in vi, I see the following characters:
\302\240
Can someone explain what these characters mean. Is it ASCII format? I need to trim those characters from a file.
I am doing the following:
tr -d '\302\240'
---------- Post updated at 08:35 PM ---------- Previous... (1 Reply)
Hi all,
I was wondering how can i see the special characters like \t, \n or anything else in a file by using Nano or any other linux command like less, more etc (6 Replies)
i need to replace the any special characters with escape characters like below.
test!=123-> test\!\=123
!@#$%^&*()-= to be replaced by
\!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
I am writing a ksh script. I need to replace a set of characters in an xml file.
FROM="ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÛÚÜÝßàáâãäåçèéêëìíîïðñòóôõö¿¶ø®";
TO="AAAAAAACEEEEIIIIDNOOOOOOUUUUYSaaaaaaceeeeiiiionooooo N R"
I have used the code- sed 's/$FROM/$TO/g'<abc.xml
But its not working.
Can anyone tell me the code to do this? (3 Replies)
Hi
I have a scenario where hyphen(-) from file should be ignored
I used the following code
if && ; then
if ; then
pow=$LINE
echo $pow > history.txt
flag=1
fi
fi
I get the following output
./valid.sh: -: 0403-012 A test... (7 Replies)
I have an application which I am integrating with that accepts the password via a CLI. I am running in to issues with passwords that contain special characters. I tried to escape them all, but I ran in to an issue where I cannot escape the characters
'
]
My attempt is as follows:
$... (2 Replies)
Hi,
I am using sed command to replace following line in gz file-
sed -n 's/""COS_12_TM_1" ( 1101110101001001010011110100000010110100010010000000100000000010XX010000000 )"/""COS_12_TM_1" ( 110111010100100101001111MM00000010110100010010000000100000000010XX010000000 )"/g' filename.gz
$x=... (4 Replies)
Hi.
I 'm trying to hit a REST api and retrieve a JSON feed, and the URL has special characters in it.
Something like:
Example Domain
The below curl command is failing
curl -X GET https://www.example.com/?sample=name&id=1001
saying bad command at id=1001
I am going to use this as part... (3 Replies)
Discussion started by: kumarjt
3 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)