Results 1 to 3 of 3
How can i avoid next line in bash? synonymous of this is chomp of perl. I want to get rid of the newline. I want to type the word in ...
- 04-13-2007 #1Linux Newbie
- Join Date
- Mar 2006
- Posts
- 101
avoid next line in bash
How can i avoid next line in bash? synonymous of this is chomp of perl. I want to get rid of the newline. I want to type the word in the same line. Below is the sample script:
echo "Type Message ID:"
read input1
grep -rl $input1 /home/foo/Maildir/.junkmail/new
TIA
- 04-13-2007 #2
- 04-13-2007 #3Linux Newbie
- Join Date
- Mar 2006
- Posts
- 101
thanks!it works


Reply With Quote