9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello friends,
Could anyone please advise on how to remove escape sequences from a text file?
$ file input.txt
input.txt: ASCII English text, with escape sequences
I'm able to see those escape characters when opened in vi editor like shown below:
^
but not when I run more... (6 Replies)
Discussion started by: magnus29
6 Replies
2. Shell Programming and Scripting
Hi Gurus,
Escape sequences \n, \t, \b, \t, \033(1m are not working.
I just practiced these escape sequences. It worked first. Later its not working.
Also the command - echo inside the script editor shows as shaded by a color. Before that echo inside the script editor wont show like this.... (4 Replies)
Discussion started by: GaneshAnanth
4 Replies
3. Solaris
Hello,
I am running Solaris 8. When issuing the command "stty lcase" all text which is output to the terminal are capitalized. Letters that are supposed to be capitals are preceded by a backslash during output. All text which is input is converted to lower case. This is the expected behaviour... (5 Replies)
Discussion started by: rstor
5 Replies
4. Shell Programming and Scripting
Hello! I created a file that displays text underlined. However when I pass the file into the mail utility it doesnt display the underline.
Here is the code:
echo "\n\033
cat test_underline.txt
mail -s "testing of underline" <email_address> < test_underline.txt
Any ideas?... (8 Replies)
Discussion started by: DPERTS
8 Replies
5. Shell Programming and Scripting
Hello,
I am trying to find out how I can find the tty number of a terminal a bash script has just created.
Ultimately what I am trying to achieve is a script that starts a new terminal where stderr can be directed to.
ls -l missing_file 2> /dev/pts/X
To find the tty number of the... (3 Replies)
Discussion started by: colinireland
3 Replies
6. UNIX for Advanced & Expert Users
Hello everyone!. I am wondering if it is possible to take control of a tty session???!!!.
For example: imagine you are running a command in a unix server that will take 12 hours to compleate... now, imagine you are at your home and you want to check how the command is performing or if errors... (2 Replies)
Discussion started by: dragonov7
2 Replies
7. UNIX for Advanced & Expert Users
Hello all,
I am porting the linux 2.6.30rc2 kernel from one ARM architecture, /arch/arm/mach-davinci, to a new device, called Jacinto2.
I am using the serial port ttyS0 as the default console. The bootloader is U-Boot and I am using busybox mounted as a ramdisk in internal SDRAM. I have got... (4 Replies)
Discussion started by: Interloper
4 Replies
8. UNIX for Dummies Questions & Answers
I hope this question isn't too vague...
i recently switched from RedHat to Solaris 10, and found that the parts of a script that copy files between directories no longer work because escape sequences are appearing at the start and end of the filenames being read
#!/usr/bin/bash
cd... (1 Reply)
Discussion started by: jwm-wm
1 Replies
9. Solaris
:) Hi,
Can any one help me to find available escape sequences in UNIX shell programming? ( Like \n, \c etc,. in C or C++)
Iam generating one report using one of the script, in that it is very much essential.
Regards,
LOVE (6 Replies)
Discussion started by: Love
6 Replies