Search Results

Search: Posts Made By: rollinator
2,628
Posted By rollinator
the sed works: sed '42,$d' infile > outfile ...
the sed works:

sed '42,$d' infile > outfile

but how to do this for all files in folder ... same question again?

---------- Post updated at 06:32 AM ---------- Previous update was at 06:31 AM...
2,628
Posted By rollinator
$ awk '{gsub(",","."); print >FILENAME".out"}'...
$ awk '{gsub(",","."); print >FILENAME".out"}' *.dat
this awk works fine for me but now I would like to limit the number of column
to 41?
so how can I only output line 1 to 41 to the new outfile?...
2,628
Posted By rollinator
I would like to do this : tr "," "." <...
I would like to do this :
tr "," "." < 010_DSB_DIR_187_5Hz_MODE3_1m_hor_1.dat > 010_DSB_DIR_187_5Hz_MODE3_1m_hor_1_out.dat

for all the files in the folder at once!

using your proposal:
cd...
2,628
Posted By rollinator
Replace character in files of entire folder? sed? or what?
Hello,
I do have several files in one folder each file contains measurement data.
for each file I would like to replace the character "," by "." ?

How can I do this and how can I do this for...
4,432
Posted By rollinator
how to change this looking for mimetype "text/plain" instead of extension *.txt?
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

Create a...
Forum: Programming 04-16-2011
2,331
Posted By rollinator
So I found a solution: #! /bin/bash ...
So I found a solution:

#! /bin/bash



find ~ -name "*.txt" -printf "%M %f %TY%Tm%Td%TH%TM%TS %TY %Tm %Td %TH %TM %p\n" | sort -nk3 |
awk '/^....rw/{

filecnt = filecnt + 1
printf ("No....
Forum: Programming 04-10-2011
2,331
Posted By rollinator
that's how it looks like "now": I made a lot...
that's how it looks like "now":

I made a lot of changes and so there's now a syntax error ,too.

after this awk I tried to get a list of directories to a file (temporary.any)
afterwards I...
Forum: Programming 04-09-2011
2,331
Posted By rollinator
need help with shell script filtering files and sort! newbie question?
Hi folks,

I would like to get familiar with shell script programing.

The first task is:

write a shell script that:

scans your home-folder + sub-directory for all txt-files that all users...
Showing results 1 to 8 of 8

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