Search Results

Search: Posts Made By: jds93
983
Posted By jds93
Multiple files AWK
I'm currently reading from 2 input files
But the second file I only need once.

How can I check if a word exists in the second file?
971
Posted By jds93
Get word out a line
For example

LINE:
This is a phrase.

OUTPUT
is

The command should return the word on a chosen position.
In this case, I asked for the second word.
1,421
Posted By jds93
Find line number
How to find a line number?

I have a file:

1
5
8
9
10
15

Is there a simple method to find out on which line for example the 9 is written?
3,697
Posted By jds93
No. It is a question asked on previous exams and ...
No. It is a question asked on previous exams and
I was wondering how to answer it.
3,697
Posted By jds93
Yes. No 'uniq' or 'sort' this time :(
Yes. No 'uniq' or 'sort' this time :(
3,697
Posted By jds93
Remove duplicate chars and sort string [SED]
Hi,

INPUT:
DCBADD

OUTPUT:
ABCD

The SED script should alphabetically sort the chars in the string and remove the duplicate chars.
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 06:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy