![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Questions about Unix/Linux | Vallzi | What's on Your Mind? | 5 | 01-22-2007 10:09 AM |
| pulling scripts from unix to linux | pjconfig | UNIX for Dummies Questions & Answers | 3 | 12-21-2005 02:10 PM |
| Absolute n00b questions about Unix / Linux | CodeHunter | UNIX for Dummies Questions & Answers | 2 | 02-24-2005 05:46 AM |
| UNIX/Linux for Windows? and a few other questions... | CornNuts | Windows & DOS: Issues & Discussions | 8 | 04-10-2002 01:45 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Unix/Linux Scripts questions
Hi All,
You have a very large file, named 'ColCheckMe', tab-delimited, that you are asked to process. You are told that each line in 'ColCheckMe' has 7 columns, and that the values in the 5th column are integers. Using shell functions (and standard LINUX/UNIX filters), indicate how you would verify that these conditions were satisfied in 'ColCheckMe' In the same file, you are told that each value in column 1 is unique. How would you verify that? Write a shell function that counts the number of occurrences of the word “SpecStr” in the file 'ColCheckMe'. Please advice. Thanks much. |
| Forum Sponsor | ||
|
|
|
|||
|
Hello,
This is not homework or school work. I'm a seasoned C++ developer on windows. My current project is both, windows and unix based. As part of my expanding job duties, I'm getting my feet wet in the unix world as well. My problem is that I have a very large file called ColCheckMe which is tab-delimited, that I have to process. Each line in ColCheckMe has 7 columns, and the values in the 5th column are integers. Using shell functions (and standard LINUX/UNIX filters), I have to verify that these conditions are satisfied in ColCheckMe. In the same file, each value in column 1 is unique. How do I verify that? I have to write a shell function that counts the number of occurrences of the word “SpecStr” in the file ColCheckMe. Thanks for any help. |
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix solaris change ip address stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix mtime unix simulator unix.com vi substitute while loop within while loop shell script |