Search Results

Search: Posts Made By: mcesmcsc
7,302
Posted By MadeInGermany
The ~ expands to an absolute path. If your tar is...
The ~ expands to an absolute path. If your tar is not GNU tar, then the leading / is not stripped off. And a relocation during extraction is impossible.
I would use cd and let the shell expand the...
7,302
Posted By RudiC
What did you try? Where and how did it fail? ...
What did you try? Where and how did it fail?
What do you get if you specify /path/to/target/*txt?
2,534
Posted By RavinderSingh13
Hello mcesmcsc, Good that you have shown us...
Hello mcesmcsc,

Good that you have shown us what you have tried to solve your own problem, keep it up.
Could you please do let us know sample of Input_file and expected output in CODE TAGS too it...
2,534
Posted By MadeInGermany
If you really want to count, then consider the -c...
If you really want to count, then consider the -c option for grep.
To concatenate outputs from different commands into one file there are 3 methods:
command1 > outfile
command2 >> outfileMore...
2,534
Posted By RudiC
With grep and friends you'll get one count per...
With grep and friends you'll get one count per run, so you'll have to go through the file twice. Might not be a problem with small files, but resource consumption increases with sizes. Taylor your...
Showing results 1 to 5 of 5

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