10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Debian 9 64x - LXDE
How can i disable escape sequences in a variable?
echo "$red_start This text should be red $color_end"#!/bin/bash
red_start="\eOutput that i get:
This text should be... (5 Replies)
Discussion started by: int3g3r
2. Shell Programming and Scripting
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)
Discussion started by: AMG1978
3. Shell Programming and Scripting
i am executing script from A server which will execute the script in B server , as below.
ssh A 'ssh B echo 'select * from testing where name ='test''
i am getting the below output.
select * from testing where name=test
but i need the output where clause with quotes , tried with... (3 Replies)
Discussion started by: expert
4. UNIX for Dummies Questions & Answers
echo "***Enter new LISTENER_PORT (only applicable to new instance), "
I used the following:
E486: Pattern not found: echo \"\*\*\*Enter new LISTENER_PORT \(only applicable to new instanace\), \"
when I try to search for the above line, I'm not able to do it
so how do I search for the... (5 Replies)
Discussion started by: jediwannabe
5. Shell Programming and Scripting
I need to read an encrypted password from the user and update that value in an xml file. I am trying to use "sed" for searching the appropriate tag and replacing this new value that get from the user. Since the encrypted password can contain special characters(like /,\,&,etc),... (4 Replies)
Discussion started by: majose
6. Shell Programming and Scripting
i need to replace the any special characters with escape characters like below.
!@#$%^&*()-= to be replaced by
\!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
Discussion started by: laknar
7. UNIX for Dummies Questions & Answers
I want to know if escape charaters work on all the popular UNIX shells. More specifically I want to know if echo "\c" will work on most of the UNIX shells and are there any specific shells on which \c won't work.
Vineet (2 Replies)
Discussion started by: vineetd
8. Shell Programming and Scripting
I have been trying to write a script to look for a set of specific escape characters in a file. On viewing the file via vi it shows this :
^ I understand this means no end of line.
I have tried a vary of grep parameters such as grep ^\^. filename grep --binary-file=binary without... (8 Replies)
Discussion started by: timcs
9. Shell Programming and Scripting
i want to know the unix commands to replace all the character escape sequences with their "C" values in a string...
thanks in advance..!
Sharanya (9 Replies)
Discussion started by: sharsin2001
10. Shell Programming and Scripting
I am trying to execute the following command from a batch script, but no matter how many escape characters I put in it doesn't execute properly. It works fine from the command line with quotes around the -exec part.
/usr/local/bin/sudo /usr/atria/bin/cleartool setview -exec... (0 Replies)
Discussion started by: Sebarry