Hi,
I did the below.
$ print "\\n"
$
I am curious, why does \\n give two new lines? I would have thought that the first \ would escape the second \, and so we'd get \n printed. But we didn't.
Any ideas?
Thanks. (7 Replies)
Hi,
Can anyone please let me know the meaning of this line,i am not able to understand the egrep part(egrep '^{1,2}).This will search for this combination in beginning but what does the values in {}signifies here.
/bin/echo $WhenToRun | egrep '^{1,2}:$' >/dev/null (1 Reply)
Hi !!! Dear People,
Please help me with the following problem.
consider this output:
Top 5 Timed Events
~~~~~~~~~~~~ Total
Event Waits Time (s) Ela Time
---------------------------- ------------ ----------- -----
CPU time ... (3 Replies)
Hello Experts,
I am trying to parse a gz file like this
gzip -cd filename | xargs egrep -h -e '.*somepattern</TAG>' | grep -c '<TAG2>`date '+%Y-%m-%d'`</TAG2>'
But I am getting an error :
egrep cant open.
Any ideas fellas? (1 Reply)
Hi, I'm very new to shell scripting and have searched google and this forum for quite some time now.
I have the following in my xml file:
<recipients>
<member>value1</member>
</recipients>
I need to find a string <recipients> that follows with a new-line and bunch of spaces and... (5 Replies)
Hello,
I want to find some keywords in a dd image.
I have created a keyword file (1.txt) and search the dd image using,
cat /media/sdb1/test/c.dd.001 | strings | egrep -i --color -f 1.txt
It works,
But how can I get the file name and path?
Many thanks. (7 Replies)
Hi Everyone,
in the below "xyz (Exception e)" part... after the curly braces, there is a new line and immediately few tabs are present before closing curly brace.
xyz (Exception e) {
}
note: there can be one or more newlines between the curly braces.
My desired output should be ... (6 Replies)
Hi everyone,
Can someone look this over?
find /oracle/diag/rdbms/*/*/trace -type f -name '*d00*.trc' -mtime 0 \
-exec egrep -c 'TNS-12535: TNS:operation timed out' '{}' '+' |
awk -F: '{print $1}' |
egrep -c '2015-01-22' usidp/trace/abcdef_d001_21751.trc:9 \... (1 Reply)
Discussion started by: bdby
1 Replies
LEARN ABOUT DEBIAN
unaccent
unaccent(1) General Commands Manual unaccent(1)NAME
unaccent - remove accents from input stream or a string
SYNOPSIS
unaccent [--debug_low] [--debug_high] [-h] charset [string] [expected]
DESCRIPTION
With a single argument, unaccent reads data from stdin, replaces accented letters by their unaccented equivalent and writes the result on
stdout. If the second argument ('string') is provided unaccent transforms it by replacing accented letters by their unaccented equivalent.
The result is printed on the standard output. The charset of the input string or the data read from stdin is specified by the 'charset'
argument (ISO-8859-15 for instance). The output is printed using the same charset.
If the 'expected' argument is provided, the output string is compared to it. If they are not equal unaccent exits on error.
unaccent relies on the iconv(3) library to convert from the specified charset to UTF-16BE (or UTF-16 if UTF-16BE is not available). You
should check the manual pages for available charsets. On GNU/Linux the command
iconv -l
shows all available charsets.
OPTIONS --debug_low
Prints human readable information about the unaccentuation process. See unac(3) for more information.
--debug_high
Prints very detailed information about the unaccentuation process. See unac(3) for more information.
--help -h
Prints a short usage and exits.
EXAMPLES
Remove accents from the string ete and check that the result is ete.
unaccent ISO-8859-1 ete ete
Remove accents from file myfile and put the result in file myfile.unaccent
unaccent ISO-8859-1 < myfile > myfile.unaccent
SEE ALSO unac(3), iconv(3)AUTHOR
Loic Dachary loic@senga.org
http://www.senga.org/unac/
local unaccent(1)