10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is it possible to print a particular character n number of times in a line?
i am print the following line using echo command..
echo "files successfully moved"
i want to count the number of characters that are been displayed. i am doin it using
echo "files... (8 Replies)
Discussion started by: Little
2. Shell Programming and Scripting
Hi Gurus, i need your help to create a script the will print a characters after the pattern was found.
Sample lines are below:
My birthday:"1977-16-07", My birthday:"1975-16-07"
My patter should be "birthday:", then i want to print the following characters which... (18 Replies)
Discussion started by: scripter123
Hello, I am reading the K & R C book, and trying to understand more about putchar()/getchar() by practice. Similar to the exercise 1-12, I want try to parse each line by character. Although there are many site about the exercise, but I could find similar case of mine, which is similar to fold... (11 Replies)
Discussion started by: yifangt
In python, if I use '\', error, use "\", error again, use '\\' or "\\", the print result will be \\
If I want to print a single \, what can I do?
Thanks in advance
Sorry... I have solved this problem...
Thanks anyway (2 Replies)
Discussion started by: Henryyy
5. Shell Programming and Scripting
In my file, for few field I have to print the next ASCII character for every character.
In the below file, I have to do for the 2,3 and 5th fields.
2|klm|nop|6|qrs (2 Replies)
Discussion started by: machomaddy
6. Shell Programming and Scripting
My current code is:
user@ubuntu:~/Desktop$ grep -e "\(packaged by\)\|\(employee\)\|\(file name\)\|\(Total Data (MB) Read\)\|\(Begin Time\)" log.txt
packaged by = Ron Mexico
employee = Michael Vick
file name = Mike_Vick_2011.bat
Total Data (MB) Read: 11.82
Begin Time: 6/13/2011... (8 Replies)
Discussion started by: chipperuga
7. Shell Programming and Scripting
I want to write a shell script to print only those words from a file whose beginning
and last character are same.
vini (5 Replies)
Discussion started by: vini kumar
8. Shell Programming and Scripting
I decided I wanted to have the cd command print my full working directory after each cd command, so I put this cw command in .bashrc as a function.
}While this works I would like pwd to print escapes when a space in a directory name exists. This would... (7 Replies)
Discussion started by: jelloir
9. Shell Programming and Scripting
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
10. Shell Programming and Scripting
How can I print a '-' on the same line within awk, say 50 times, without actually typing '-' 50 times?
Cheers (3 Replies)
Discussion started by: dbrundrett