Search Results

Search: Posts Made By: jimjam
2,311
Posted By jimjam
Current working directory
Hi all,

How do I print the name of my current working directory only to screen?

Not pwd!

For example, if I was in /home/work I am looking for 'work' only
3,776
Posted By jimjam
Hi all, Got it working. I didn't realise...
Hi all,

Got it working. I didn't realise about shells and the commands being different. Will check my default shell tomorrow. I used the following code and got the files into awk by setting...
3,776
Posted By jimjam
Thanks for your response. The only problem...
Thanks for your response.

The only problem is the above solutions don't work.

My awk program needs the list of files to operate on all in the one go, not passed in one by one. So I put the list...
3,776
Posted By jimjam
Passing multiple files to awk
Hi all,

I have a load of files in the format e.g.

a_1.out
a_300.out
a_20.out

etc

I would like to numeric sort them in ascending order by the number in the file name,
then pass them...
Showing results 1 to 4 of 4

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