10 More Discussions You Might Find Interesting
1. OS X (Apple)
Hi guys and gals...
OSX 10.13.2, default bash terminal.
I have a flat file 1920 bytes in size of whitespaces only. I need to put every single whitespace character into a bash array cell.
Below are two methods that work, but both are seriously ugly.
The first one requires that I... (7 Replies)
Discussion started by: wisecracker
2. Shell Programming and Scripting
I have two files. File1 and File2.
Want to create another file with all the records of File1 those are not present in File2.
Thanks in advanced.
Anupam (3 Replies)
Discussion started by: Anupam_Halder
3. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4. Shell Programming and Scripting
I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code.
my @input = <DBLIST>;
my... (11 Replies)
Discussion started by: chidori
5. Shell Programming and Scripting
i want to use new line character in cut command
i want to display 3rd line of a file using cut only( not by sed or head -tail command)
can anyone suggest me ?
Regards (12 Replies)
Discussion started by: Deepak Dutt
I'm new to forums, it's my first time posting.
I have a sun v490 server. I just installed solaris 10.6, on the local drives. I'm being asked to do the following:
For Oracle install I need “oracle” user that belong to “dba” and “oinstall” groups. File system /u01/app/oracle, 10GB (if... (6 Replies)
Discussion started by: Kjons76
7. Shell Programming and Scripting
Shell script: I would need help on How to extract 3rd line 4th column of a file with single liner
Thanks in advance. (4 Replies)
Discussion started by: krishnamurthig
8. Shell Programming and Scripting
I want to Print starting 3rd line until end of the file. Pls let me know the command.
Thanks in advance. (1 Reply)
Discussion started by: smc3
9. Shell Programming and Scripting
I wish to store $string1 in $string1array a character in each array element.
Then i wish to echo the entire array to the screen so that it reads as the normal string again.
I have been trying with the code below but does not work. Please help...
To put string into array:
... (5 Replies)
Discussion started by: rorey_breaker
10. Shell Programming and Scripting
I have a ksh script I would like to modify.
What I need it to do is look at an ever changing log file and print the 3rd to last line. Is there a command that will display this? I can not use line numbers because the file is always growing.
Thanks for any help (2 Replies)
Discussion started by: NivekRaz