The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 7 of 7
Search took
0.00
seconds.
Search:
Posts Made By:
rockdude
Forum:
Shell Programming and Scripting
10-18-2009
1
awk help
1,243
Posted By
rockdude
awk help
Hi Guys,
I've to print a block of lines that starts with a keyword CREATE and ends with ; using awk command is there a way to do this?
awk '{if ($1=="CREATE" ) {print $0}}' filename.
This...
Forum:
Solaris
04-15-2008
12
Unix Command
4,242
Posted By
rockdude
Hi, Earlier I have mentioned the command...
Hi,
Earlier I have mentioned the command wrongly.
Input:
$ cat samp
1234 "6734" "DSS" "8887578384" "ABC PRIVATE LMT REGNO 6" 3245
Output of the unix command:
$ sed -e 's/ / /g' -e 's/...
Forum:
Solaris
04-15-2008
12
Unix Command
4,242
Posted By
rockdude
Hi All, Thanks for the detailed explanation....
Hi All,
Thanks for the detailed explanation.
I was just wondering how we can handle multiple spaces in such case. Please find the below example
1234 "6734" "DSS" "8887578384" "ABC PRIVATE...
Forum:
Solaris
04-12-2008
12
Unix Command
4,242
Posted By
rockdude
Hi, Can you please help me explain what the...
Hi,
Can you please help me explain what the second statement in sed does
's/\("[^"|][^"|]*\)|\([^|][^|]*|\)/\1 \2
I didnt get why "[^"|] and ^| is specified twice after special/escape...
Forum:
Solaris
04-12-2008
12
Unix Command
4,242
Posted By
rockdude
Excellent answer It worked... Many thanks I...
Excellent answer It worked...
Many thanks I know the command is bit long but ever lasting one..
This site is kewl I'm loving it...
Thanks buddy..
Dude :b:
Forum:
Solaris
04-12-2008
12
Unix Command
4,242
Posted By
rockdude
Unix Command
Hi,
This doesnt work :mad: any other inputs...
Also one more thing to add..
I should have double codes with in the strings. As I said earlier.. the o/p should be like below
...
Forum:
Solaris
04-12-2008
12
Unix Command
4,242
Posted By
rockdude
Unix Command
Hi All,
Can some one help me in providing the unix command to ignore the "" in a line. To explain in detail
I have a file which is space delimited.
Ex
1 2 3 4 "hello" "rock dude" 5 6 7
...
Showing results 1 to 7 of 7
Member Badges and Information Modal
×