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 5 of 5
Search took
0.01
seconds.
Search:
Posts Made By:
charithainfadev
Forum:
Red Hat
01-29-2011
17
Parsing a linux file and formatting it.
5,716
Posted By
vgersh99
As I said - do NOT make any modifications to the...
As I said - do NOT make any modifications to the script itself.
Simply call it with 'awk' or 'gawk'.
Forum:
Red Hat
01-29-2011
17
Parsing a linux file and formatting it.
5,716
Posted By
vgersh99
This is not the code I posted. Repaste what's...
This is not the code I posted.
Repaste what's been posted originally without any modifications.
Forum:
Red Hat
01-29-2011
17
Parsing a linux file and formatting it.
5,716
Posted By
vgersh99
Please repost (using the code tags) the content...
Please repost (using the code tags) the content of your script exactly as-is AND the way you call/execute it.
Make sure you don't have ^M-s in your script.
The script works fine under Solaris and...
Forum:
Red Hat
01-29-2011
17
Parsing a linux file and formatting it.
5,716
Posted By
vgersh99
Try using awk or gawk (instead of nawk).
Try using awk or gawk (instead of nawk).
Forum:
Red Hat
01-28-2011
17
Parsing a linux file and formatting it.
5,716
Posted By
vgersh99
Assuming '^C' is actually a SINGLE character...
Assuming '^C' is actually a SINGLE character (CTRL-C) - not 2 characters...
nawk -f char.awk myFile
char.awk:
BEGIN {
FS=OFS="|"
ctrlC=sprintf("%c", 003)
}
{
sub("^[|]","")
...
Showing results 1 to 5 of 5
Member Badges and Information Modal
×